Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.000969/0.0009688, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.407/1.407, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.692/2.692, allocations: 437.8 MB / 0.7128 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003889, allocations: 15.97 kB / 0.8735 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6476/0.648, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001164/0.6492, allocations: 0.5938 MB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001686/0.6494, allocations: 51.75 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.889e-05/0.6495, allocations: 4 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.6495, allocations: 7.875 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.471e-05/0.6496, allocations: 7.938 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 6.692e-05/0.6496, allocations: 23.98 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.6498, allocations: 67.84 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.6499, allocations: 49.08 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.302e-05/0.65, allocations: 27.75 kB / 1.025 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.34e-05/0.6501, allocations: 23.8 kB / 1.025 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.6501, allocations: 0 / 1.025 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-06/0.6501, allocations: 4 kB / 1.025 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.6502, allocations: 19.91 kB / 1.025 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.496e-05/0.6502, allocations: 53.45 kB / 1.025 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.796e-05/0.6503, allocations: 69.81 kB / 1.025 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.6503, allocations: 0 / 1.025 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6503, allocations: 0 / 1.025 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.6503, allocations: 0 / 1.025 GB, free: 14.91 MB / 0.7794 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.0004928/0.6508, allocations: 387.4 kB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.6509, allocations: 11.97 kB / 1.025 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.6509, allocations: 12.75 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.6512, allocations: 208.2 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.6512, allocations: 12.5 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.6512, allocations: 8.375 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.6514, allocations: 110.8 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.6515, allocations: 0 / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.6515, allocations: 8 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.6515, allocations: 4 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.256e-05/0.6516, allocations: 39.98 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005914/0.6522, allocations: 464.3 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.849e-05/0.6523, allocations: 41.16 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.449e-05/0.6523, allocations: 25.83 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.6523, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.6524, allocations: 34.5 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.6524, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001854/0.6526, allocations: 53.83 kB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.6526, allocations: 81.05 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.6528, allocations: 186.6 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.6528, allocations: 25.7 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.238e-05/0.6529, allocations: 112 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.077e-06/0.6529, allocations: 3.906 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.653, allocations: 17.7 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.6531, allocations: 323 kB / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.6531, allocations: 11.98 kB / 1.027 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.836e-05/0.6532, allocations: 21.7 kB / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.29e-05/0.6532, allocations: 21.72 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.6532, allocations: 7.938 kB / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.826e-05/0.6533, allocations: 57.59 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.6533, allocations: 10.09 kB / 1.027 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.6533, allocations: 4 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.6534, allocations: 0 / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.977e-05/0.6534, allocations: 4 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.6534, allocations: 3.938 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.604e-05/0.6535, allocations: 15.78 kB / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.6535, allocations: 0 / 1.027 GB, free: 12.37 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.254e-05/0.6536, allocations: 113.8 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/0.6536, allocations: 19.8 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.6537, allocations: 16.56 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.6537, allocations: 0 / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6537, allocations: 0 / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.6537, allocations: 3.938 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003758/0.6541, allocations: 478.8 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.6541, allocations: 4 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.161e-05/0.6541, allocations: 4 kB / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.6541, allocations: 4 kB / 1.028 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.6541, allocations: 7.938 kB / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.6541, allocations: 0 / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.6542, allocations: 0 / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.096e-05/0.6542, allocations: 85.83 kB / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.6543, allocations: 92.91 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.6543, allocations: 3.938 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.13e-05/0.6544, allocations: 4.031 kB / 1.028 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.6544, allocations: 4 kB / 1.028 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.6544, allocations: 3.938 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001176/0.6545, allocations: 140.3 kB / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6545, allocations: 0 / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001901/0.6547, allocations: 8 kB / 1.028 GB, free: 11.29 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.0001155/0.6548, allocations: 96.05 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.101e-05/0.6549, allocations: 23.94 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6549, allocations: 0 / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.116e-05/0.655, allocations: 4 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.6551, allocations: 8 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003803/0.6555, allocations: 242.5 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.6558, allocations: 0.6965 MB / 1.029 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.6558, allocations: 15.44 kB / 1.029 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of SimCode: time 4.71e-07/0.6558, allocations: 0 / 1.029 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of Templates: time 0.002508/0.6583, allocations: 0.9691 MB / 1.03 GB, free: 9.172 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches