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.001/0.001, allocations: 90.52 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.006875/0.006875, allocations: 171.1 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.467/1.467, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.016/3.016, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000472/0.0004722, allocations: 10.22 kB / 0.9027 GB, free: 36.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3928, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001257/0.3941, allocations: 0.592 MB / 1.059 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00013/0.3943, allocations: 47.78 kB / 1.059 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.998e-05/0.3944, allocations: 4 kB / 1.059 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.3944, allocations: 15.86 kB / 1.059 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.95e-05/0.3945, allocations: 3.938 kB / 1.059 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.301e-05/0.3946, allocations: 23.98 kB / 1.059 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.3947, allocations: 71.75 kB / 1.059 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.3949, allocations: 57.08 kB / 1.059 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.604e-05/0.3949, allocations: 19.75 kB / 1.059 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.434e-05/0.395, allocations: 31.78 kB / 1.059 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.395, allocations: 0 / 1.059 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.395, allocations: 4 kB / 1.059 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.3951, allocations: 7.938 kB / 1.059 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.312e-05/0.3951, allocations: 65.38 kB / 1.06 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.3952, allocations: 91.8 kB / 1.06 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3953, allocations: 0 / 1.06 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.464e-06/0.3953, allocations: 0 / 1.06 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.3953, allocations: 4 kB / 1.06 GB, free: 3.934 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.0004467/0.3957, allocations: 383.4 kB / 1.06 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3958, allocations: 12.03 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.3958, allocations: 12.75 kB / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.3961, allocations: 196.4 kB / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.3961, allocations: 4.562 kB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.3961, allocations: 12.38 kB / 1.06 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.3963, allocations: 112 kB / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3963, allocations: 0 / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3963, allocations: 4 kB / 1.06 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.3963, allocations: 0 / 1.06 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.623e-05/0.3964, allocations: 43.98 kB / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005928/0.397, allocations: 480.2 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.946e-05/0.3971, allocations: 41.2 kB / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.858e-05/0.3972, allocations: 17.78 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.3972, allocations: 0 / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.3972, allocations: 42.5 kB / 1.061 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3972, allocations: 4 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001815/0.3974, allocations: 49.55 kB / 1.061 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.3975, allocations: 81.09 kB / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.3977, allocations: 183.2 kB / 1.061 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.3977, allocations: 25.7 kB / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.01e-05/0.3978, allocations: 111.9 kB / 1.061 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.177e-06/0.3978, allocations: 7.984 kB / 1.061 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.3978, allocations: 9.719 kB / 1.061 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.3979, allocations: 327 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.3979, allocations: 7.984 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.013e-05/0.398, allocations: 17.72 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.093e-05/0.398, allocations: 25.66 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.398, allocations: 0 / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.085e-05/0.3981, allocations: 69.53 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3981, allocations: 5.875 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3981, allocations: 0 / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3982, allocations: 96 / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.336e-05/0.3982, allocations: 15.92 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3982, allocations: 0 / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.469e-05/0.3983, allocations: 11.88 kB / 1.062 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.3983, allocations: 0 / 1.062 GB, free: 1.402 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.044e-05/0.3984, allocations: 121.8 kB / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.3984, allocations: 11.84 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.406e-05/0.3985, allocations: 16.56 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3985, allocations: 0 / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.3985, allocations: 4 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3985, allocations: 3.938 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003729/0.3989, allocations: 470.8 kB / 1.062 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3989, allocations: 0 / 1.062 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.962e-05/0.3989, allocations: 4 kB / 1.062 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-05/0.3989, allocations: 4.062 kB / 1.062 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.3989, allocations: 12.05 kB / 1.062 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3989, allocations: 3.938 kB / 1.062 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3989, allocations: 0 / 1.062 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.653e-05/0.399, allocations: 77.83 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.3991, allocations: 92.91 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.3991, allocations: 15.97 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.045e-05/0.3992, allocations: 0 / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.3992, allocations: 0 / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.3992, allocations: 0 / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001059/0.3993, allocations: 135.2 kB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3993, allocations: 0 / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001872/0.3995, allocations: 11.94 kB / 1.063 GB, free: 336 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.0001234/0.3996, allocations: 99.25 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.38e-05/0.3997, allocations: 19.94 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3997, allocations: 0 / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.286e-05/0.3997, allocations: 8 kB / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.3999, allocations: 10.11 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.4003, allocations: 212.8 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.4006, allocations: 0.7004 MB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.384e-05/0.4006, allocations: 12.55 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.4007, allocations: 11.44 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of SimCode: time 4.51e-07/0.4007, allocations: 0 / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of Templates: time 0.002651/0.4033, allocations: 488.5 kB / 1.064 GB, free: 14.72 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