Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 192.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.407/2.407, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.91 kB / 0.8694 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4774/0.4787, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001855/0.4806, allocations: 0.8745 MB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001108/0.4807, allocations: 55.72 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.877e-05/0.4807, allocations: 0 / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.566e-05/0.4808, allocations: 11.86 kB / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.265e-05/0.4809, allocations: 11.88 kB / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.749e-05/0.4809, allocations: 31.97 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.452e-05/0.481, allocations: 75.78 kB / 1.018 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.4812, allocations: 53.06 kB / 1.019 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.822e-05/0.4812, allocations: 43.73 kB / 1.019 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.781e-05/0.4813, allocations: 35.78 kB / 1.019 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.4813, allocations: 8 kB / 1.019 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.4813, allocations: 8 kB / 1.019 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.214e-05/0.4813, allocations: 19.92 kB / 1.019 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.4814, allocations: 39.75 kB / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.4815, allocations: 93.91 kB / 1.019 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4815, allocations: 3.938 kB / 1.019 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4815, allocations: 3.938 kB / 1.019 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.4815, allocations: 0 / 1.019 GB, free: 1.105 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003751/0.4819, allocations: 407.2 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.4819, allocations: 11.98 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.59e-05/0.482, allocations: 42.73 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.482, allocations: 8.844 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.4822, allocations: 208.2 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.4822, allocations: 8.562 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.4822, allocations: 8.375 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.4824, allocations: 108.6 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.4824, allocations: 3.984 kB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.4824, allocations: 4 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.4824, allocations: 4 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.656e-05/0.4825, allocations: 39.92 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.483, allocations: 464.4 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.403e-05/0.483, allocations: 45.22 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.911e-05/0.4831, allocations: 21.92 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.4831, allocations: 0 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.4831, allocations: 38.5 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4831, allocations: 4 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000148/0.4833, allocations: 57.45 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.4833, allocations: 77.11 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.4835, allocations: 182.6 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.749e-06/0.4835, allocations: 25.7 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.4835, allocations: 112 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.785e-06/0.4835, allocations: 11.84 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.4836, allocations: 17.97 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.62e-05/0.4837, allocations: 322.8 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.621e-05/0.4837, allocations: 7.984 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.979e-05/0.4837, allocations: 17.72 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.587e-05/0.4838, allocations: 25.72 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.4838, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.091e-05/0.4838, allocations: 65.53 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.4839, allocations: 10.5 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.4839, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.4839, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.837e-05/0.4839, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.484, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.242e-05/0.484, allocations: 11.78 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.484, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.155e-05/0.4841, allocations: 113.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.567e-05/0.4841, allocations: 19.81 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.041e-05/0.4841, allocations: 20.48 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.4842, allocations: 96 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4842, allocations: 3.984 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4842, allocations: 3.938 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003387/0.4845, allocations: 478.8 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4845, allocations: 0 / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.834e-05/0.4845, allocations: 8.062 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.4846, allocations: 3.938 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.4846, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4846, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4846, allocations: 4 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.069e-05/0.4846, allocations: 77.89 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.4847, allocations: 96.84 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.4847, allocations: 7.969 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.09e-05/0.4847, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.521e-05/0.4848, allocations: 11.94 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-06/0.4848, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.882e-05/0.4849, allocations: 136.3 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4849, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001884/0.4851, allocations: 11.98 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002891/0.4854, allocations: 0.6132 MB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.153e-05/0.4854, allocations: 23.92 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4855, allocations: 0 / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-05/0.4855, allocations: 4 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.4856, allocations: 12.28 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.4867, allocations: 1.399 MB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.4869, allocations: 0.6963 MB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.271e-05/0.4869, allocations: 12.55 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.487, allocations: 27.42 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.487, allocations: 4 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01692/0.5039, allocations: 1.699 MB / 1.026 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.61/7.114, allocations: 0 / 1.026 GB, free: 8.848 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches