Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001871/0.001871, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.502/1.502, 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.3-maint.9.1.x/package.mo): time 2.552/2.552, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 67.89 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8607/0.8621, allocations: 140.3 MB / 0.9489 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002266/0.8645, allocations: 0.934 MB / 0.9498 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001235/0.8646, allocations: 54.5 kB / 0.9499 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.847e-05/0.8647, allocations: 2.281 kB / 0.9499 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.734e-05/0.8647, allocations: 11.92 kB / 0.9499 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.105e-05/0.8648, allocations: 5.344 kB / 0.9499 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.77e-05/0.8649, allocations: 20.08 kB / 0.9499 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.865, allocations: 76.69 kB / 0.95 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.8652, allocations: 47.22 kB / 0.95 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.522e-05/0.8652, allocations: 28.5 kB / 0.9501 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.752e-05/0.8653, allocations: 42.28 kB / 0.9501 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.8653, allocations: 4.5 kB / 0.9501 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.508e-05/0.8653, allocations: 4.406 kB / 0.9501 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.587e-05/0.8654, allocations: 15.33 kB / 0.9501 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.8654, allocations: 39.56 kB / 0.9502 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.8655, allocations: 89.53 kB / 0.9503 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8656, allocations: 1.375 kB / 0.9503 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.62e-07/0.8656, allocations: 0 / 0.9503 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.8656, allocations: 4 kB / 0.9503 GB, free: 8.074 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.0003875/0.866, allocations: 395.4 kB / 0.9506 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.866, allocations: 9.781 kB / 0.9506 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.8661, allocations: 10.75 kB / 0.9507 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.8662, allocations: 203 kB / 0.9509 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.8663, allocations: 12.59 kB / 0.9509 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.8663, allocations: 5.688 kB / 0.9509 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.8665, allocations: 116.3 kB / 0.951 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.8665, allocations: 0 / 0.951 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.8665, allocations: 9.5 kB / 0.951 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.8665, allocations: 7.141 kB / 0.951 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.445e-05/0.8666, allocations: 38.77 kB / 0.951 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.867, allocations: 473.1 kB / 0.9515 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.658e-05/0.8671, allocations: 42.39 kB / 0.9515 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.032e-05/0.8671, allocations: 18.91 kB / 0.9515 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.8672, allocations: 1.438 kB / 0.9515 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.8672, allocations: 35.94 kB / 0.9516 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.8672, allocations: 4 kB / 0.9516 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001602/0.8673, allocations: 56.19 kB / 0.9516 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.8674, allocations: 77.11 kB / 0.9517 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.8675, allocations: 186.7 kB / 0.9519 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.142e-06/0.8675, allocations: 25.7 kB / 0.9519 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.8676, allocations: 117.2 kB / 0.952 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.141e-06/0.8676, allocations: 5.062 kB / 0.952 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.8676, allocations: 22.47 kB / 0.952 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.576e-05/0.8677, allocations: 325.5 kB / 0.9524 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.635e-05/0.8677, allocations: 6.75 kB / 0.9524 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.8677, allocations: 19.41 kB / 0.9524 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.445e-05/0.8678, allocations: 29.95 kB / 0.9524 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.8678, allocations: 0 / 0.9524 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.582e-05/0.8679, allocations: 63.86 kB / 0.9525 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.8679, allocations: 4.656 kB / 0.9525 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.8679, allocations: 1.531 kB / 0.9525 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.8679, allocations: 1.625 kB / 0.9525 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.145e-05/0.868, allocations: 8.109 kB / 0.9525 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.868, allocations: 1.156 kB / 0.9525 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.057e-05/0.868, allocations: 14 kB / 0.9525 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.868, allocations: 1.312 kB / 0.9525 GB, free: 5.824 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 5.355e-05/0.8681, allocations: 118.2 kB / 0.9526 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.8681, allocations: 9.5 kB / 0.9526 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.318e-05/0.8682, allocations: 17.27 kB / 0.9526 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.8682, allocations: 0 / 0.9526 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.8682, allocations: 0 / 0.9526 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.8682, allocations: 5.406 kB / 0.9526 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.8685, allocations: 473.8 kB / 0.9531 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.8685, allocations: 64 / 0.9531 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.942e-05/0.8685, allocations: 10.48 kB / 0.9531 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.8685, allocations: 1.125 kB / 0.9531 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.8685, allocations: 5.156 kB / 0.9531 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.8685, allocations: 0 / 0.9531 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8685, allocations: 1.156 kB / 0.9531 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.334e-05/0.8686, allocations: 79.47 kB / 0.9532 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.8686, allocations: 93.19 kB / 0.9533 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.8687, allocations: 5.562 kB / 0.9533 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.44e-05/0.8687, allocations: 8 kB / 0.9533 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.147e-05/0.8687, allocations: 5.609 kB / 0.9533 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.8687, allocations: 0 / 0.9533 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.726e-05/0.8688, allocations: 131 kB / 0.9534 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8688, allocations: 0 / 0.9534 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001863/0.869, allocations: 12.16 kB / 0.9534 GB, free: 4.867 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 8.769e-05/0.8691, allocations: 101.1 kB / 0.9535 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.732e-05/0.8692, allocations: 22.92 kB / 0.9536 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.8692, allocations: 3.938 kB / 0.9536 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.061e-05/0.8692, allocations: 8.125 kB / 0.9536 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.8693, allocations: 10.69 kB / 0.9536 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.8696, allocations: 217.4 kB / 0.9538 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.8698, allocations: 0.699 MB / 0.9545 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.654e-05/0.8698, allocations: 9.406 kB / 0.9545 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.8698, allocations: 12.47 kB / 0.9545 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.8698, allocations: 0 / 0.9545 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of Templates: time 0.002636/0.8725, allocations: 491.9 kB / 0.955 GB, free: 3.586 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches