Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 86.02 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.001328/0.001328, 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.457/1.457, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.846/2.846, allocations: 462.6 MB / 0.736 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003773, allocations: 13.83 kB / 0.9021 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3973, allocations: 159.6 MB / 1.058 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001031/0.3984, allocations: 0.5145 MB / 1.059 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001105/0.3985, allocations: 39.78 kB / 1.059 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.012e-05/0.3986, allocations: 4 kB / 1.059 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.287e-05/0.3986, allocations: 7.875 kB / 1.059 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.334e-05/0.3987, allocations: 11.92 kB / 1.059 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.921e-05/0.3987, allocations: 8 kB / 1.059 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.262e-05/0.3988, allocations: 59.75 kB / 1.059 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.399, allocations: 32.16 kB / 1.059 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.526e-05/0.399, allocations: 11.88 kB / 1.059 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.038e-05/0.3991, allocations: 31.73 kB / 1.059 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.3991, allocations: 4 kB / 1.059 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.574e-06/0.3991, allocations: 0 / 1.059 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.3991, allocations: 11.98 kB / 1.059 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.591e-05/0.3992, allocations: 37.64 kB / 1.059 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.427e-05/0.3993, allocations: 43.89 kB / 1.059 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3993, allocations: 4 kB / 1.059 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3993, allocations: 0 / 1.059 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.3993, allocations: 0 / 1.059 GB, free: 4.422 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003851/0.3997, allocations: 367.4 kB / 1.059 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3997, allocations: 12.03 kB / 1.059 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.3998, allocations: 7.906 kB / 1.059 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.4, allocations: 190.9 kB / 1.059 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.4, allocations: 0 / 1.059 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.4, allocations: 15.95 kB / 1.059 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.4002, allocations: 91.28 kB / 1.059 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.4002, allocations: 3.938 kB / 1.059 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.4002, allocations: 4 kB / 1.059 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.4002, allocations: 8 kB / 1.059 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.823e-05/0.4003, allocations: 31.98 kB / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/0.4008, allocations: 436.7 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.404e-05/0.4009, allocations: 45.16 kB / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.146e-05/0.4009, allocations: 21.77 kB / 1.06 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.401, allocations: 0 / 1.06 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.401, allocations: 46.45 kB / 1.06 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.401, allocations: 3.938 kB / 1.06 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001613/0.4012, allocations: 53.83 kB / 1.06 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.4012, allocations: 81.05 kB / 1.06 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.4014, allocations: 159.7 kB / 1.06 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.4014, allocations: 25.7 kB / 1.06 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.436e-05/0.4015, allocations: 108 kB / 1.06 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.655e-06/0.4015, allocations: 3.906 kB / 1.06 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.4015, allocations: 4 kB / 1.06 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.4016, allocations: 318.8 kB / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.828e-05/0.4016, allocations: 12.03 kB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.894e-05/0.4016, allocations: 13.72 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.511e-05/0.4017, allocations: 11.98 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.4017, allocations: 0 / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.379e-05/0.4018, allocations: 61.55 kB / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.4018, allocations: 6.188 kB / 1.061 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.4018, allocations: 7.891 kB / 1.061 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.4018, allocations: 4.062 kB / 1.061 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.138e-05/0.4019, allocations: 11.98 kB / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.4019, allocations: 0 / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.935e-05/0.4019, allocations: 11.84 kB / 1.061 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.4019, allocations: 0 / 1.061 GB, free: 2.039 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.394e-05/0.402, allocations: 115.4 kB / 1.061 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.402, allocations: 7.906 kB / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.106e-05/0.4021, allocations: 7.875 kB / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4021, allocations: 3.953 kB / 1.061 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4021, allocations: 4 kB / 1.061 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.4021, allocations: 3.984 kB / 1.061 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.4025, allocations: 466.8 kB / 1.061 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4025, allocations: 0 / 1.061 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.17e-05/0.4025, allocations: 11.89 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4025, allocations: 0 / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.4025, allocations: 96 / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.4025, allocations: 4 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4025, allocations: 4.062 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.594e-05/0.4026, allocations: 81.88 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.4027, allocations: 88.95 kB / 1.062 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.4027, allocations: 3.953 kB / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.801e-05/0.4027, allocations: 0 / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/0.4027, allocations: 3.984 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.4027, allocations: 8.031 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.404e-05/0.4028, allocations: 118.1 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.423e-06/0.4028, allocations: 0 / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001815/0.403, allocations: 15.94 kB / 1.062 GB, free: 1 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.0001197/0.4031, allocations: 95.25 kB / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.839e-05/0.4032, allocations: 16 kB / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4032, allocations: 0 / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-05/0.4033, allocations: 12.06 kB / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.4034, allocations: 8 kB / 1.062 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.4038, allocations: 192.5 kB / 1.062 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.404, allocations: 0.6926 MB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.185e-05/0.4041, allocations: 8.422 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.4041, allocations: 15.42 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.4041, allocations: 0 / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of Templates: time 0.002475/0.4066, allocations: 418.7 kB / 1.063 GB, free: 15.49 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches