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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001331/0.00133, allocations: 107.4 kB / 15.99 MB, free: 6.348 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.001341/0.001341, allocations: 200 kB / 16.91 MB, free: 6.188 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.438/1.438, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.845/2.845, allocations: 482.4 MB / 0.755 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 64.25 kB / 0.924 GB, free: 336 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8537/0.8557, allocations: 162.2 MB / 1.082 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002902/0.8587, allocations: 0.8878 MB / 1.083 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001292/0.8588, allocations: 41.09 kB / 1.083 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.046e-05/0.8589, allocations: 1.062 kB / 1.083 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.735e-05/0.859, allocations: 5.625 kB / 1.083 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.764e-05/0.8591, allocations: 6.891 kB / 1.083 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.047e-05/0.8591, allocations: 20.47 kB / 1.083 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.8593, allocations: 59.59 kB / 1.083 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.8595, allocations: 45.23 kB / 1.083 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.753e-05/0.8595, allocations: 30.33 kB / 1.083 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.21e-05/0.8596, allocations: 26.73 kB / 1.084 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.8596, allocations: 5.875 kB / 1.084 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.402e-05/0.8597, allocations: 10.5 kB / 1.084 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/0.8597, allocations: 16.94 kB / 1.084 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.384e-05/0.8597, allocations: 35.94 kB / 1.084 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.8599, allocations: 53.39 kB / 1.084 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.8599, allocations: 0.75 kB / 1.084 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.226e-06/0.8599, allocations: 0.8438 kB / 1.084 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.8599, allocations: 0 / 1.084 GB, free: 0.8438 MB / 0.8262 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.0004127/0.8603, allocations: 384.5 kB / 1.084 GB, free: 460 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.8604, allocations: 9 kB / 1.084 GB, free: 460 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.8604, allocations: 13.97 kB / 1.084 GB, free: 452 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.8606, allocations: 192.8 kB / 1.084 GB, free: 236 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.8606, allocations: 2.562 kB / 1.084 GB, free: 236 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.8606, allocations: 10.33 kB / 1.084 GB, free: 232 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.8608, allocations: 88.47 kB / 1.084 GB, free: 168 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.8608, allocations: 1.188 kB / 1.084 GB, free: 168 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.8609, allocations: 8.75 kB / 1.084 GB, free: 160 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.8609, allocations: 2.156 kB / 1.084 GB, free: 160 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.234e-05/0.8609, allocations: 44.56 kB / 1.084 GB, free: 140 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006546/0.8616, allocations: 430 kB / 1.085 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.838e-05/0.8617, allocations: 41.77 kB / 1.085 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.786e-05/0.8618, allocations: 20.95 kB / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-06/0.8618, allocations: 0.8438 kB / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.8618, allocations: 35.89 kB / 1.085 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.8618, allocations: 0 / 1.085 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001917/0.862, allocations: 57.45 kB / 1.085 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.8621, allocations: 86.09 kB / 1.085 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.8623, allocations: 159.7 kB / 1.085 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.8623, allocations: 26.42 kB / 1.085 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.447e-05/0.8624, allocations: 107.1 kB / 1.085 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.148e-05/0.8624, allocations: 11.27 kB / 1.085 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.8625, allocations: 18.61 kB / 1.085 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.8626, allocations: 320.3 kB / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.845e-05/0.8627, allocations: 4.594 kB / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.95e-05/0.8627, allocations: 26.97 kB / 1.086 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.511e-05/0.8628, allocations: 23.91 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.8628, allocations: 0 / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001036/0.8629, allocations: 65.45 kB / 1.086 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.8629, allocations: 4.656 kB / 1.086 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.8629, allocations: 5.281 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.8629, allocations: 2.094 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.781e-05/0.863, allocations: 9.953 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.863, allocations: 1.125 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.411e-05/0.8631, allocations: 6.875 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.8631, allocations: 5.266 kB / 1.086 GB, free: 14.76 MB / 0.8419 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.618e-05/0.8632, allocations: 118.4 kB / 1.086 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.55e-05/0.8633, allocations: 7.375 kB / 1.086 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.548e-05/0.8633, allocations: 17.55 kB / 1.086 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.8633, allocations: 0 / 1.086 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.8633, allocations: 5.188 kB / 1.086 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.8633, allocations: 0.8438 kB / 1.086 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.8639, allocations: 466.7 kB / 1.086 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.8639, allocations: 1.031 kB / 1.086 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.931e-05/0.8639, allocations: 3 kB / 1.086 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.8639, allocations: 2.062 kB / 1.086 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.8639, allocations: 0 / 1.086 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.8639, allocations: 2.203 kB / 1.086 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.8639, allocations: 4.062 kB / 1.086 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.864, allocations: 80.45 kB / 1.086 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/0.8641, allocations: 90.72 kB / 1.087 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.8641, allocations: 1.578 kB / 1.087 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.026e-05/0.8642, allocations: 4.438 kB / 1.087 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/0.8642, allocations: 9.875 kB / 1.087 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.8642, allocations: 1.156 kB / 1.087 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001231/0.8643, allocations: 121 kB / 1.087 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.645e-06/0.8643, allocations: 1.281 kB / 1.087 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001904/0.8645, allocations: 14.12 kB / 1.087 GB, free: 13.84 MB / 0.8419 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.0001293/0.8647, allocations: 98.36 kB / 1.087 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.71e-05/0.8648, allocations: 15.89 kB / 1.087 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.8648, allocations: 128 / 1.087 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.121e-05/0.8648, allocations: 13.3 kB / 1.087 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.865, allocations: 10.84 kB / 1.087 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000394/0.8654, allocations: 211.1 kB / 1.087 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.8658, allocations: 0.6932 MB / 1.088 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.8658, allocations: 11.62 kB / 1.088 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.8658, allocations: 3.938 kB / 1.088 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of Templates: time 0.002824/0.8687, allocations: 0.8577 MB / 1.089 GB, free: 12.75 MB / 0.8419 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=400 -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/jenkins1/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