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.001298/0.001298, allocations: 108.2 kB / 15.99 MB, free: 5.895 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.001296/0.001296, allocations: 193.4 kB / 16.91 MB, free: 5.746 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.448/1.448, allocations: 222.9 MB / 240.6 MB, free: 4.512 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.755/2.755, allocations: 437 MB / 0.7107 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 63.91 kB / 0.8694 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5704/0.5723, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002557/0.5749, allocations: 0.9444 MB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001798/0.5751, allocations: 51.72 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.274e-05/0.5752, allocations: 4 kB / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.689e-05/0.5753, allocations: 7.922 kB / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.964e-05/0.5754, allocations: 3.938 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.895e-05/0.5755, allocations: 23.98 kB / 1.019 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.5756, allocations: 79.78 kB / 1.019 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.5758, allocations: 45.09 kB / 1.019 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.735e-05/0.5759, allocations: 39.78 kB / 1.019 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.485e-05/0.5759, allocations: 39.72 kB / 1.019 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.576, allocations: 12 kB / 1.019 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.576, allocations: 11.94 kB / 1.019 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.583e-05/0.576, allocations: 15.94 kB / 1.019 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.708e-05/0.5761, allocations: 43.73 kB / 1.019 GB, free: 1.383 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.5762, allocations: 73.83 kB / 1.019 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.5762, allocations: 0 / 1.019 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5762, allocations: 0 / 1.019 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.5762, allocations: 0 / 1.019 GB, free: 1.312 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.0005487/0.5768, allocations: 399.2 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.5768, allocations: 16.03 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.5769, allocations: 12.78 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.5771, allocations: 208.2 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.5772, allocations: 8.562 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.5772, allocations: 12.38 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.5774, allocations: 98.7 kB / 1.02 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.5774, allocations: 4 kB / 1.02 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.5774, allocations: 4 kB / 1.02 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.5774, allocations: 0 / 1.02 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.5776, allocations: 51.91 kB / 1.02 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006727/0.5782, allocations: 460.4 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.352e-05/0.5783, allocations: 41.09 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.186e-05/0.5784, allocations: 25.84 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-06/0.5784, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.5784, allocations: 34.55 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.5784, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001934/0.5786, allocations: 57.45 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.5787, allocations: 81.58 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.5789, allocations: 183.2 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.5789, allocations: 29.64 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.292e-05/0.579, allocations: 112 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.579, allocations: 7.906 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.5791, allocations: 17.72 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.5792, allocations: 322.8 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.964e-05/0.5793, allocations: 4 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.251e-05/0.5793, allocations: 29.64 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.075e-05/0.5794, allocations: 29.72 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5794, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.79e-05/0.5795, allocations: 57.53 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.5795, allocations: 8 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.5795, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.5795, allocations: 4.062 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.628e-05/0.5796, allocations: 4 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.5796, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.357e-05/0.5796, allocations: 19.72 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-06/0.5797, allocations: 0 / 1.021 GB, free: 14.76 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 8.786e-05/0.5797, allocations: 117.8 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.5798, allocations: 8 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.5798, allocations: 20.53 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5798, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5798, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5799, allocations: 3.938 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004649/0.5803, allocations: 482.7 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5803, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.152e-05/0.5804, allocations: 7.938 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.5804, allocations: 4 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.5804, allocations: 3.938 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.5804, allocations: 4.062 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.5804, allocations: 4 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.858e-05/0.5805, allocations: 73.89 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-05/0.5806, allocations: 92.92 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.5806, allocations: 7.922 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.051e-05/0.5806, allocations: 0 / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/0.5806, allocations: 8.031 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.5807, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001134/0.5808, allocations: 136.2 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5808, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001911/0.581, allocations: 8 kB / 1.022 GB, free: 13.68 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.0001276/0.5811, allocations: 103.2 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.289e-05/0.5812, allocations: 16 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.5812, allocations: 4.125 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.451e-05/0.5812, allocations: 11.94 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.5814, allocations: 9.547 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003889/0.5818, allocations: 232.7 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.5822, allocations: 0.7002 MB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.5822, allocations: 11.44 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.5822, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of Templates: time 0.002794/0.585, allocations: 0.9846 MB / 1.024 GB, free: 11.55 MB / 0.7794 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=400 -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