Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.001143/0.001143, allocations: 107.3 kB / 16.41 MB, free: 6.469 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.001135/0.001136, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.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.489/2.489, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 63.89 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7404/0.7418, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002051/0.7439, allocations: 0.8744 MB / 1.168 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001624/0.7441, allocations: 55.78 kB / 1.168 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.389e-05/0.7442, allocations: 4 kB / 1.168 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.545e-05/0.7442, allocations: 15.8 kB / 1.168 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.403e-05/0.7444, allocations: 11.88 kB / 1.168 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.755e-05/0.7444, allocations: 23.97 kB / 1.168 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.7445, allocations: 75.78 kB / 1.168 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.7447, allocations: 53.08 kB / 1.168 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.045e-05/0.7448, allocations: 39.8 kB / 1.168 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.249e-05/0.7448, allocations: 27.8 kB / 1.168 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.7448, allocations: 8 kB / 1.168 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.292e-05/0.7449, allocations: 8 kB / 1.168 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.728e-05/0.7449, allocations: 27.86 kB / 1.168 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.745, allocations: 39.73 kB / 1.169 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.7451, allocations: 99.41 kB / 1.169 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.7451, allocations: 4 kB / 1.169 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7451, allocations: 0 / 1.169 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.7451, allocations: 3.938 kB / 1.169 GB, free: 2.484 MB / 0.8887 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.0004782/0.7456, allocations: 397.2 kB / 1.169 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.7457, allocations: 12.91 kB / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.828e-05/0.7457, allocations: 20.73 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.7459, allocations: 204.3 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.746, allocations: 8.562 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.746, allocations: 8.375 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.7462, allocations: 105.2 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.7462, allocations: 7.922 kB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.7462, allocations: 4 kB / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.7462, allocations: 4 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.408e-05/0.7463, allocations: 43.92 kB / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006117/0.7469, allocations: 468.3 kB / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.933e-05/0.747, allocations: 41.16 kB / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/0.7471, allocations: 17.77 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.7471, allocations: 4 kB / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.7471, allocations: 38.56 kB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 2.635e-06/0.7471, allocations: 0 / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001735/0.7473, allocations: 57.55 kB / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.7473, allocations: 81.05 kB / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.7475, allocations: 175.8 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.7475, allocations: 29.7 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.534e-05/0.7476, allocations: 112.2 kB / 1.17 GB, free: 464 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.504e-06/0.7476, allocations: 7.906 kB / 1.17 GB, free: 456 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.7477, allocations: 17.62 kB / 1.17 GB, free: 432 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.7478, allocations: 330.8 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.7478, allocations: 7.984 kB / 1.171 GB, free: 84 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.903e-05/0.7479, allocations: 17.72 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.389e-05/0.7479, allocations: 25.72 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.7479, allocations: 0 / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001124/0.748, allocations: 65.53 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.7481, allocations: 4 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.7481, allocations: 0 / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.7481, allocations: 224 / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.585e-05/0.7482, allocations: 8 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.7482, allocations: 3.938 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.714e-05/0.7482, allocations: 15.78 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.7482, allocations: 0 / 1.171 GB, free: 15.93 MB / 0.9044 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 8.747e-05/0.7483, allocations: 122.4 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.7484, allocations: 7.906 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.7484, allocations: 16.55 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.7484, allocations: 0 / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.7484, allocations: 7.938 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.7484, allocations: 3.938 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003995/0.7488, allocations: 474.8 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.7489, allocations: 4 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.96e-05/0.7489, allocations: 0 / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.7489, allocations: 4 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.7489, allocations: 3.938 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.7489, allocations: 0 / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7489, allocations: 0 / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.549e-05/0.749, allocations: 89.86 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.75e-05/0.7491, allocations: 85 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.7491, allocations: 11.88 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.082e-05/0.7491, allocations: 0 / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.08e-05/0.7491, allocations: 0 / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.7491, allocations: 4 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001082/0.7493, allocations: 136.3 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.3e-07/0.7493, allocations: 0 / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001954/0.7495, allocations: 11.98 kB / 1.172 GB, free: 14.85 MB / 0.9044 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.0001062/0.7496, allocations: 103.3 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.933e-05/0.7497, allocations: 16 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7497, allocations: 3.938 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.051e-05/0.7497, allocations: 4 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.7499, allocations: 4.094 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.7502, allocations: 221.8 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.7505, allocations: 0.7002 MB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.7505, allocations: 11.44 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.7506, allocations: 0 / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of Templates: time 0.002562/0.7531, allocations: 1 MB / 1.174 GB, free: 12.72 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches