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.001159/0.001159, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.00118/0.00118, allocations: 187 kB / 17.34 MB, free: 5.742 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.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.314/2.314, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 67.91 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.948/0.9495, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001983/0.9516, allocations: 0.8724 MB / 1.089 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001226/0.9517, allocations: 63.17 kB / 1.09 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.718e-05/0.9518, allocations: 1.156 kB / 1.09 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.781e-05/0.9518, allocations: 14.95 kB / 1.09 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.908e-05/0.9519, allocations: 17.73 kB / 1.09 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.432e-05/0.952, allocations: 26.27 kB / 1.09 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.9521, allocations: 75.33 kB / 1.09 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.9523, allocations: 52.3 kB / 1.09 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.066e-05/0.9524, allocations: 35.19 kB / 1.09 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.535e-05/0.9524, allocations: 33.75 kB / 1.09 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.9524, allocations: 6.938 kB / 1.09 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.163e-05/0.9525, allocations: 8.438 kB / 1.09 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.9525, allocations: 24.92 kB / 1.09 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.803e-05/0.9525, allocations: 43.08 kB / 1.09 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.9527, allocations: 104.5 kB / 1.09 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.9527, allocations: 4 kB / 1.09 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9527, allocations: 1.094 kB / 1.09 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.9527, allocations: 0 / 1.09 GB, free: 4.652 MB / 0.8575 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.0003844/0.9531, allocations: 396.7 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.9531, allocations: 9.875 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.9532, allocations: 13.97 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.9534, allocations: 206.4 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.9534, allocations: 8.281 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.9534, allocations: 6.25 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.9536, allocations: 110.7 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.9536, allocations: 0 / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.9536, allocations: 5.125 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.9536, allocations: 2.344 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.601e-05/0.9537, allocations: 44.55 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.9542, allocations: 461.7 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.657e-05/0.9543, allocations: 41.64 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.336e-05/0.9543, allocations: 21.42 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-06/0.9543, allocations: 1.312 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.9543, allocations: 39.36 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.9543, allocations: 1.281 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001557/0.9545, allocations: 56.2 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.9545, allocations: 78.62 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.9547, allocations: 185.5 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.9547, allocations: 26.64 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.9548, allocations: 118 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.193e-06/0.9548, allocations: 5.219 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.9548, allocations: 22.42 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.083e-05/0.9549, allocations: 325.1 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.9549, allocations: 3.922 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.225e-05/0.9549, allocations: 24.02 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.515e-05/0.955, allocations: 22.98 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.955, allocations: 4 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.837e-05/0.955, allocations: 70.72 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.9551, allocations: 5.562 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.9551, allocations: 0.6562 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.9551, allocations: 9.172 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.889e-05/0.9552, allocations: 6.375 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.9552, allocations: 1.859 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.904e-05/0.9552, allocations: 9.281 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.9552, allocations: 1.406 kB / 1.092 GB, free: 2.516 MB / 0.8575 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.098e-05/0.9553, allocations: 120 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.9553, allocations: 12.78 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.592e-05/0.9553, allocations: 14.23 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.9554, allocations: 2.078 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.9554, allocations: 0 / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.9554, allocations: 5.281 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.9557, allocations: 475.9 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.9557, allocations: 0 / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.951e-05/0.9557, allocations: 3.984 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.9557, allocations: 1.062 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.9557, allocations: 5.734 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.9557, allocations: 5.031 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.9557, allocations: 3.938 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.326e-05/0.9558, allocations: 81.81 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.9559, allocations: 92 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.9559, allocations: 6.078 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.974e-05/0.9559, allocations: 0 / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.9559, allocations: 2 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.9559, allocations: 1.281 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.042e-05/0.956, allocations: 137.7 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.956, allocations: 0 / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001836/0.9562, allocations: 8.812 kB / 1.093 GB, free: 1.598 MB / 0.8575 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 9.136e-05/0.9563, allocations: 105.6 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.819e-05/0.9564, allocations: 20.33 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.9564, allocations: 0 / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.194e-05/0.9564, allocations: 8.156 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.9566, allocations: 14.31 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003042/0.9569, allocations: 204.9 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.957, allocations: 0.6976 MB / 1.094 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.957, allocations: 12.22 kB / 1.094 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.957, allocations: 0 / 1.094 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of Templates: time 0.002696/0.9597, allocations: 0.9911 MB / 1.095 GB, free: 0.5039 MB / 0.8575 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/jenkins1/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