Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.To_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_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.001319/0.001319, allocations: 111.3 kB / 15.24 MB, free: 0.6484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 201.3 kB / 16.14 MB, free: 6.594 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.278/1.278, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.237/2.237, allocations: 390.2 MB / 0.6643 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5431/0.5444, allocations: 140.4 MB / 0.9491 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001939/0.5464, allocations: 0.9338 MB / 0.95 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001233/0.5465, allocations: 50.59 kB / 0.95 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.093e-05/0.5466, allocations: 1.375 kB / 0.95 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.845e-05/0.5467, allocations: 7.922 kB / 0.95 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.657e-05/0.5467, allocations: 9.312 kB / 0.95 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.768e-05/0.5468, allocations: 20.11 kB / 0.95 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.02e-05/0.5469, allocations: 76.64 kB / 0.9501 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.547, allocations: 46.97 kB / 0.9502 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.773e-05/0.547, allocations: 29.48 kB / 0.9502 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.797e-05/0.5471, allocations: 38.59 kB / 0.9502 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.5471, allocations: 4.125 kB / 0.9502 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.5471, allocations: 9.5 kB / 0.9502 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.5471, allocations: 14.69 kB / 0.9503 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.579e-05/0.5472, allocations: 39.98 kB / 0.9503 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.079e-05/0.5473, allocations: 92.97 kB / 0.9504 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.5473, allocations: 1.375 kB / 0.9504 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.71e-07/0.5473, allocations: 0 / 0.9504 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.5473, allocations: 0 / 0.9504 GB, free: 8.082 MB / 0.7169 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.0003114/0.5476, allocations: 400.1 kB / 0.9508 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.5477, allocations: 9.625 kB / 0.9508 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.695e-05/0.5477, allocations: 41.5 kB / 0.9508 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.5477, allocations: 14.34 kB / 0.9508 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.5479, allocations: 211.6 kB / 0.951 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.5479, allocations: 11.25 kB / 0.951 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.5479, allocations: 15.19 kB / 0.9511 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.548, allocations: 98.7 kB / 0.9512 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.5481, allocations: 5.312 kB / 0.9512 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.5481, allocations: 7.984 kB / 0.9512 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.5481, allocations: 6.75 kB / 0.9512 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.517e-05/0.5482, allocations: 43 kB / 0.9512 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.5486, allocations: 461.5 kB / 0.9517 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.71e-05/0.5486, allocations: 42.84 kB / 0.9517 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.732e-05/0.5486, allocations: 23.22 kB / 0.9517 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.5487, allocations: 1.188 kB / 0.9517 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.143e-05/0.5487, allocations: 36.05 kB / 0.9518 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.5487, allocations: 0 / 0.9518 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001398/0.5488, allocations: 52.3 kB / 0.9518 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.96e-05/0.5488, allocations: 81.14 kB / 0.9519 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.549, allocations: 190.3 kB / 0.9521 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.5e-06/0.549, allocations: 25.92 kB / 0.9521 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.055e-05/0.549, allocations: 114.2 kB / 0.9522 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.171e-06/0.549, allocations: 9.156 kB / 0.9522 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.5491, allocations: 17.59 kB / 0.9522 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.751e-05/0.5491, allocations: 321.5 kB / 0.9525 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.479e-05/0.5491, allocations: 6.531 kB / 0.9525 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.785e-05/0.5492, allocations: 22.67 kB / 0.9526 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.22e-05/0.5492, allocations: 26.28 kB / 0.9526 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5492, allocations: 0 / 0.9526 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.982e-05/0.5493, allocations: 59.86 kB / 0.9526 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.5493, allocations: 9.516 kB / 0.9526 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.5493, allocations: 5.344 kB / 0.9526 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.5493, allocations: 0 / 0.9526 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.958e-05/0.5494, allocations: 6.094 kB / 0.9527 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.5494, allocations: 1.031 kB / 0.9527 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.019e-05/0.5494, allocations: 15.03 kB / 0.9527 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-06/0.5494, allocations: 0 / 0.9527 GB, free: 5.785 MB / 0.7169 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 4.694e-05/0.5495, allocations: 114.3 kB / 0.9528 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.5495, allocations: 9.031 kB / 0.9528 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.927e-05/0.5495, allocations: 16.89 kB / 0.9528 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.5495, allocations: 4 kB / 0.9528 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.5496, allocations: 1.312 kB / 0.9528 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.5496, allocations: 3.938 kB / 0.9528 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.5498, allocations: 481.6 kB / 0.9533 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.5498, allocations: 0 / 0.9533 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.748e-05/0.5498, allocations: 3.25 kB / 0.9533 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5499, allocations: 5.781 kB / 0.9533 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.5499, allocations: 4.062 kB / 0.9533 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5499, allocations: 5.594 kB / 0.9533 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.5499, allocations: 3.938 kB / 0.9533 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.581e-05/0.5499, allocations: 79.77 kB / 0.9534 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.973e-05/0.55, allocations: 85.67 kB / 0.9535 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.55, allocations: 11.92 kB / 0.9535 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.073e-05/0.55, allocations: 1.906 kB / 0.9535 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.55, allocations: 4.031 kB / 0.9535 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.55, allocations: 1.812 kB / 0.9535 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.512e-05/0.5501, allocations: 130 kB / 0.9536 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.12e-07/0.5501, allocations: 0 / 0.9536 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001827/0.5503, allocations: 16.09 kB / 0.9536 GB, free: 4.82 MB / 0.7169 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.0002102/0.5505, allocations: 0.621 MB / 0.9542 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.079e-05/0.5506, allocations: 18.33 kB / 0.9542 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5506, allocations: 0 / 0.9542 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.06e-05/0.5506, allocations: 8.625 kB / 0.9542 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.5508, allocations: 7.719 kB / 0.9542 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008832/0.5517, allocations: 1.421 MB / 0.9556 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.128e-05/0.5518, allocations: 0.7022 MB / 0.9563 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.432e-05/0.5518, allocations: 9.984 kB / 0.9563 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.5518, allocations: 23.75 kB / 0.9564 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.5518, allocations: 0 / 0.9564 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/0.5718, allocations: 1.585 MB / 0.9579 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/0.572, allocations: 211.2 kB / 0.9581 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.065/2.637, allocations: 0 / 0.9581 GB, free: 1.094 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches