Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001127/0.001127, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001461/0.001461, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.958/2.958, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003721, allocations: 9.312 kB / 0.9021 GB, free: 36.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3667, allocations: 159.6 MB / 1.058 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001093/0.3679, allocations: 0.5651 MB / 1.059 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001235/0.368, allocations: 47.72 kB / 1.059 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.746e-05/0.3681, allocations: 4 kB / 1.059 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.403e-05/0.3681, allocations: 7.922 kB / 1.059 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.834e-05/0.3682, allocations: 7.938 kB / 1.059 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.353e-05/0.3683, allocations: 15.98 kB / 1.059 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.3684, allocations: 75.69 kB / 1.059 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.3685, allocations: 45.27 kB / 1.059 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.695e-05/0.3686, allocations: 15.88 kB / 1.059 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.092e-05/0.3686, allocations: 27.8 kB / 1.059 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.3686, allocations: 0 / 1.059 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-06/0.3687, allocations: 4 kB / 1.059 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.3687, allocations: 11.92 kB / 1.059 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.3687, allocations: 45.64 kB / 1.059 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.979e-05/0.3688, allocations: 68.11 kB / 1.059 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.3688, allocations: 0 / 1.059 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3688, allocations: 0 / 1.059 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.3689, allocations: 0 / 1.059 GB, free: 4.371 MB / 0.8106 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.0004316/0.3693, allocations: 375.2 kB / 1.059 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.3693, allocations: 12.03 kB / 1.059 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.3694, allocations: 19.73 kB / 1.059 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.3696, allocations: 195.1 kB / 1.06 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.3696, allocations: 12.19 kB / 1.06 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.3697, allocations: 11.95 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.3698, allocations: 99.52 kB / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.3698, allocations: 3.938 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.3699, allocations: 11.98 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.3699, allocations: 0 / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.489e-05/0.37, allocations: 43.92 kB / 1.06 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000571/0.3705, allocations: 468.3 kB / 1.06 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.871e-05/0.3706, allocations: 49.05 kB / 1.06 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.321e-05/0.3707, allocations: 21.84 kB / 1.06 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.3707, allocations: 3.984 kB / 1.06 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.3707, allocations: 34.56 kB / 1.06 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.3707, allocations: 0 / 1.06 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001677/0.3709, allocations: 53.55 kB / 1.06 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.3709, allocations: 77.33 kB / 1.06 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.3711, allocations: 187.3 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.3711, allocations: 37.64 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.529e-05/0.3712, allocations: 112 kB / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.037e-06/0.3712, allocations: 3.906 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-06/0.3712, allocations: 0 / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3714, allocations: 322.8 kB / 1.061 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.3714, allocations: 8 kB / 1.061 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.236e-05/0.3714, allocations: 17.7 kB / 1.061 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.617e-05/0.3714, allocations: 12 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3714, allocations: 0 / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.457e-05/0.3715, allocations: 65.5 kB / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.3716, allocations: 4 kB / 1.061 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3716, allocations: 0 / 1.061 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.3716, allocations: 0 / 1.061 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.725e-05/0.3716, allocations: 11.98 kB / 1.061 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3716, allocations: 0 / 1.061 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.064e-05/0.3717, allocations: 11.84 kB / 1.061 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.3717, allocations: 8.156 kB / 1.061 GB, free: 1.875 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.912e-05/0.3718, allocations: 113.8 kB / 1.061 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.3718, allocations: 15.84 kB / 1.061 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.377e-05/0.3719, allocations: 16.55 kB / 1.061 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3719, allocations: 0 / 1.061 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3719, allocations: 4 kB / 1.061 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3719, allocations: 0 / 1.061 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003807/0.3723, allocations: 478.8 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3723, allocations: 0 / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.976e-05/0.3723, allocations: 4 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3723, allocations: 0 / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.3723, allocations: 4 kB / 1.062 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3723, allocations: 3.984 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3723, allocations: 7.875 kB / 1.062 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.3724, allocations: 89.81 kB / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.3725, allocations: 85.02 kB / 1.062 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.3725, allocations: 4 kB / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.973e-05/0.3725, allocations: 0 / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.264e-05/0.3726, allocations: 3.984 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.3726, allocations: 0 / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001195/0.3727, allocations: 139.2 kB / 1.062 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3727, allocations: 0 / 1.062 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001895/0.3729, allocations: 12.03 kB / 1.062 GB, free: 0.8047 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001212/0.373, allocations: 99.19 kB / 1.062 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.757e-05/0.3731, allocations: 23.92 kB / 1.062 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3731, allocations: 0 / 1.062 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.086e-05/0.3731, allocations: 4 kB / 1.062 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.3733, allocations: 13.55 kB / 1.062 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.3738, allocations: 216.6 kB / 1.062 GB, free: 428 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.3741, allocations: 0.7043 MB / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.633e-05/0.3741, allocations: 8.547 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.3742, allocations: 11.44 kB / 1.063 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3742, allocations: 0 / 1.063 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of Templates: time 0.002602/0.3768, allocations: 474.5 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches