Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007754/0.007754, allocations: 99.03 kB / 15.73 MB, free: 6.48 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.001638/0.001638, allocations: 192.1 kB / 16.67 MB, free: 6.367 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.778/2.778, allocations: 461.9 MB / 0.7348 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 59.91 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.4204, allocations: 157.4 MB / 1.208 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002454/0.4229, allocations: 0.8773 MB / 1.209 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001934/0.4231, allocations: 47.78 kB / 1.209 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.545e-05/0.4232, allocations: 4 kB / 1.209 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.921e-05/0.4232, allocations: 11.81 kB / 1.209 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.169e-05/0.4234, allocations: 19.86 kB / 1.209 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.06e-05/0.4235, allocations: 19.98 kB / 1.209 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.4236, allocations: 75.83 kB / 1.209 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.4238, allocations: 53.08 kB / 1.209 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.406e-05/0.4239, allocations: 43.73 kB / 1.209 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.579e-05/0.424, allocations: 31.78 kB / 1.209 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.424, allocations: 8 kB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.403e-05/0.424, allocations: 8 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.183e-05/0.4241, allocations: 23.92 kB / 1.209 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.107e-05/0.4241, allocations: 39.73 kB / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.4243, allocations: 99.48 kB / 1.209 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4243, allocations: 4 kB / 1.209 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4243, allocations: 0 / 1.209 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.4243, allocations: 4 kB / 1.209 GB, free: 8.32 MB / 0.9669 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.0005139/0.4248, allocations: 395.3 kB / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.4249, allocations: 8.625 kB / 1.209 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/0.4249, allocations: 16.75 kB / 1.209 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.4252, allocations: 200.3 kB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.4252, allocations: 8.562 kB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.4252, allocations: 8.375 kB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.4255, allocations: 117.5 kB / 1.21 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4255, allocations: 3.984 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.4255, allocations: 8 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.4255, allocations: 0 / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.98e-05/0.4256, allocations: 47.91 kB / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007434/0.4264, allocations: 468.2 kB / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.731e-05/0.4264, allocations: 45.09 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.552e-05/0.4265, allocations: 13.84 kB / 1.21 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.186e-06/0.4265, allocations: 4 kB / 1.21 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.4265, allocations: 38.5 kB / 1.21 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.4265, allocations: 4 kB / 1.21 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002045/0.4267, allocations: 57.53 kB / 1.21 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.4268, allocations: 77.11 kB / 1.211 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.427, allocations: 183.2 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.427, allocations: 25.7 kB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.294e-05/0.4271, allocations: 111.9 kB / 1.211 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.047e-06/0.4271, allocations: 3.906 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.4271, allocations: 18.19 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4273, allocations: 330.8 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.4273, allocations: 7.938 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.786e-05/0.4273, allocations: 25.64 kB / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.969e-05/0.4274, allocations: 21.72 kB / 1.211 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4274, allocations: 0 / 1.211 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.397e-05/0.4275, allocations: 65.55 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.4275, allocations: 4 kB / 1.211 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4275, allocations: 0 / 1.211 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.4275, allocations: 7.984 kB / 1.211 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.4276, allocations: 4 kB / 1.211 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.4276, allocations: 0 / 1.211 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.024e-05/0.4277, allocations: 15.78 kB / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.4277, allocations: 0 / 1.211 GB, free: 5.754 MB / 0.9669 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 7.956e-05/0.4277, allocations: 113.8 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.4278, allocations: 11.97 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.787e-05/0.4278, allocations: 16.55 kB / 1.211 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.4278, allocations: 4 kB / 1.211 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4278, allocations: 0 / 1.211 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4279, allocations: 3.938 kB / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004243/0.4283, allocations: 470.8 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4283, allocations: 4 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.005e-05/0.4283, allocations: 4.062 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.4283, allocations: 4 kB / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.4284, allocations: 7.875 kB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.4284, allocations: 0 / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4284, allocations: 0 / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.42e-05/0.4285, allocations: 85.8 kB / 1.212 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/0.4285, allocations: 85.02 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.4286, allocations: 11.97 kB / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.041e-05/0.4286, allocations: 0 / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.4286, allocations: 3.984 kB / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.4286, allocations: 4 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001323/0.4288, allocations: 131.2 kB / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5.21e-07/0.4288, allocations: 3.938 kB / 1.212 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001968/0.429, allocations: 15.94 kB / 1.212 GB, free: 4.684 MB / 0.9669 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.0001712/0.4291, allocations: 104.6 kB / 1.212 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001471/0.4293, allocations: 15.98 kB / 1.212 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.4293, allocations: 7.938 kB / 1.212 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.612e-05/0.4293, allocations: 7.938 kB / 1.212 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.4295, allocations: 8 kB / 1.212 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005919/0.4301, allocations: 182.7 kB / 1.213 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.4306, allocations: 0.7043 MB / 1.213 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.402e-05/0.4307, allocations: 8.547 kB / 1.213 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.4307, allocations: 11.44 kB / 1.213 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of SimCode: time 7.42e-07/0.4307, allocations: 0 / 1.213 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of Templates: time 0.003974/0.4347, allocations: 0.5282 MB / 1.214 GB, free: 3.047 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches