Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.001094/0.001094, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.009592/0.009592, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.476/1.476, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.835/2.835, allocations: 462.6 MB / 0.7364 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003712, allocations: 9.656 kB / 0.9027 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.3989, allocations: 159.6 MB / 1.059 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001247/0.4002, allocations: 0.5959 MB / 1.059 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001321/0.4003, allocations: 47.78 kB / 1.059 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.616e-05/0.4004, allocations: 0 / 1.059 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.4005, allocations: 11.92 kB / 1.059 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.075e-05/0.4006, allocations: 7.938 kB / 1.059 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.056e-05/0.4006, allocations: 19.98 kB / 1.059 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.4008, allocations: 75.69 kB / 1.059 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.4009, allocations: 61.06 kB / 1.059 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.185e-05/0.401, allocations: 23.75 kB / 1.059 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.005e-05/0.4011, allocations: 27.8 kB / 1.059 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.4011, allocations: 0 / 1.059 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.4011, allocations: 4 kB / 1.059 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.643e-05/0.4012, allocations: 11.92 kB / 1.059 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.966e-05/0.4012, allocations: 57.45 kB / 1.06 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.4014, allocations: 91.8 kB / 1.06 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4014, allocations: 0 / 1.06 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4014, allocations: 3.938 kB / 1.06 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.4014, allocations: 0 / 1.06 GB, free: 3.973 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.0004785/0.4019, allocations: 380.8 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.4019, allocations: 8.031 kB / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.402, allocations: 20.75 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.4023, allocations: 202.6 kB / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.4023, allocations: 8.562 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.4023, allocations: 8.375 kB / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.4025, allocations: 104.1 kB / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4026, allocations: 3.938 kB / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.4026, allocations: 11.98 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.4026, allocations: 0 / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.916e-05/0.4027, allocations: 43.92 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006868/0.4034, allocations: 480.3 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.702e-05/0.4035, allocations: 45.14 kB / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.598e-05/0.4035, allocations: 17.78 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.662e-06/0.4035, allocations: 0 / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.4035, allocations: 30.56 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.4036, allocations: 4 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001794/0.4037, allocations: 57.53 kB / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.4038, allocations: 85.3 kB / 1.061 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.404, allocations: 179.2 kB / 1.061 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.404, allocations: 25.7 kB / 1.061 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.4041, allocations: 115.9 kB / 1.061 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.508e-06/0.4041, allocations: 3.984 kB / 1.061 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.4041, allocations: 9.719 kB / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4043, allocations: 326.8 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.698e-05/0.4043, allocations: 8 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.411e-05/0.4043, allocations: 17.72 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.226e-05/0.4044, allocations: 25.72 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4044, allocations: 0 / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.733e-05/0.4045, allocations: 65.44 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.4045, allocations: 5.562 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.4045, allocations: 0 / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4045, allocations: 0 / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.159e-05/0.4046, allocations: 12.06 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4046, allocations: 0 / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.321e-05/0.4046, allocations: 11.88 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.4046, allocations: 3.984 kB / 1.062 GB, free: 1.438 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.666e-05/0.4048, allocations: 125.8 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.4048, allocations: 11.81 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.601e-05/0.4048, allocations: 8.562 kB / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4048, allocations: 3.938 kB / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.4049, allocations: 8 kB / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.4049, allocations: 7.938 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004185/0.4053, allocations: 474.8 kB / 1.062 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4053, allocations: 0 / 1.062 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.852e-05/0.4053, allocations: 4 kB / 1.062 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.4053, allocations: 112 / 1.062 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.4053, allocations: 11.88 kB / 1.062 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.4054, allocations: 0 / 1.062 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4054, allocations: 4.047 kB / 1.062 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.601e-05/0.4055, allocations: 73.91 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.8e-05/0.4055, allocations: 96.91 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.4056, allocations: 7.938 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.046e-05/0.4056, allocations: 3.938 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/0.4056, allocations: 0 / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.4056, allocations: 4.031 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001467/0.4058, allocations: 135.2 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4058, allocations: 0 / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002092/0.406, allocations: 15.94 kB / 1.063 GB, free: 360 kB / 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 (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.0001823/0.4062, allocations: 99.25 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.4063, allocations: 12 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4063, allocations: 0 / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.494e-05/0.4063, allocations: 12.06 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.4066, allocations: 11.98 kB / 1.063 GB, free: 212 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000525/0.4071, allocations: 208.7 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.4074, allocations: 0.7004 MB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.707e-05/0.4075, allocations: 8.547 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.4075, allocations: 11.44 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.4075, allocations: 0 / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of Templates: time 0.002984/0.4105, allocations: 484.6 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches