Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001435, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 192 kB / 16.53 MB, free: 6.391 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.499/1.499, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.51/2.51, allocations: 390.2 MB / 0.6647 GB, free: 284 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 71.89 kB / 0.8125 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8738/0.8752, allocations: 140.4 MB / 0.9496 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002278/0.8775, allocations: 0.8163 MB / 0.9504 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001187/0.8777, allocations: 43.88 kB / 0.9504 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.403e-05/0.8777, allocations: 2.5 kB / 0.9504 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.592e-05/0.8778, allocations: 11.86 kB / 0.9504 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.398e-05/0.8779, allocations: 13.19 kB / 0.9504 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.025e-05/0.8779, allocations: 14.98 kB / 0.9505 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.8781, allocations: 59.94 kB / 0.9505 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.8782, allocations: 40.03 kB / 0.9506 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.594e-05/0.8783, allocations: 32.45 kB / 0.9506 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.494e-05/0.8784, allocations: 28.45 kB / 0.9506 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.8784, allocations: 9.094 kB / 0.9506 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.8784, allocations: 6.219 kB / 0.9506 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.791e-05/0.8784, allocations: 18.11 kB / 0.9506 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.422e-05/0.8785, allocations: 30.3 kB / 0.9507 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.8786, allocations: 75.08 kB / 0.9507 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8786, allocations: 0 / 0.9507 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.425e-06/0.8786, allocations: 1.094 kB / 0.9508 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.8786, allocations: 0 / 0.9508 GB, free: 8.418 MB / 0.7169 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.0004249/0.8791, allocations: 373.9 kB / 0.9511 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.8791, allocations: 9.656 kB / 0.9511 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.8792, allocations: 15.06 kB / 0.9511 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.8794, allocations: 197.7 kB / 0.9513 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.8794, allocations: 6.812 kB / 0.9513 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.8794, allocations: 9.094 kB / 0.9513 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.8796, allocations: 85.92 kB / 0.9514 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.8796, allocations: 192 / 0.9514 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.8796, allocations: 13.12 kB / 0.9514 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.8796, allocations: 6.719 kB / 0.9514 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.746e-05/0.8797, allocations: 35.89 kB / 0.9515 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.8802, allocations: 435.9 kB / 0.9519 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.813e-05/0.8803, allocations: 38.41 kB / 0.9519 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.385e-05/0.8803, allocations: 22.38 kB / 0.9519 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.8803, allocations: 1.281 kB / 0.9519 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.8803, allocations: 35.94 kB / 0.952 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.8803, allocations: 0 / 0.952 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001779/0.8805, allocations: 54.59 kB / 0.952 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.8806, allocations: 86.42 kB / 0.9521 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.8807, allocations: 163.3 kB / 0.9523 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.462e-06/0.8807, allocations: 25.7 kB / 0.9523 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.8808, allocations: 112.6 kB / 0.9524 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.175e-06/0.8808, allocations: 5.094 kB / 0.9524 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.8808, allocations: 17.47 kB / 0.9524 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.589e-05/0.8809, allocations: 325.2 kB / 0.9527 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.756e-05/0.8809, allocations: 6.656 kB / 0.9527 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.885e-05/0.8809, allocations: 26.83 kB / 0.9528 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.761e-05/0.881, allocations: 27.39 kB / 0.9528 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.881, allocations: 0 / 0.9528 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.541e-05/0.8811, allocations: 58.48 kB / 0.9528 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.8811, allocations: 6.969 kB / 0.9529 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.8811, allocations: 3.938 kB / 0.9529 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.8811, allocations: 5.188 kB / 0.9529 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.013e-05/0.8812, allocations: 13.73 kB / 0.9529 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.8812, allocations: 5.078 kB / 0.9529 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.084e-05/0.8812, allocations: 2.062 kB / 0.9529 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.8813, allocations: 1.062 kB / 0.9529 GB, free: 6.238 MB / 0.7169 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 5.901e-05/0.8813, allocations: 117.2 kB / 0.953 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.8814, allocations: 8.219 kB / 0.953 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.8814, allocations: 11.12 kB / 0.953 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.8814, allocations: 0 / 0.953 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.8814, allocations: 5 kB / 0.953 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.8814, allocations: 4.922 kB / 0.953 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.8817, allocations: 475.2 kB / 0.9535 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.8817, allocations: 0 / 0.9535 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.821e-05/0.8817, allocations: 2.219 kB / 0.9535 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.8817, allocations: 1.25 kB / 0.9535 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.8818, allocations: 1.281 kB / 0.9535 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.8818, allocations: 4.062 kB / 0.9535 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.8818, allocations: 5.219 kB / 0.9535 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.046e-05/0.8818, allocations: 86.39 kB / 0.9536 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.8819, allocations: 87.36 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.8819, allocations: 1.375 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.991e-05/0.8819, allocations: 1.438 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.8819, allocations: 9.547 kB / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.882, allocations: 0 / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.906e-05/0.882, allocations: 120.6 kB / 0.9538 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8821, allocations: 0 / 0.9538 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001875/0.8822, allocations: 12.28 kB / 0.9538 GB, free: 5.285 MB / 0.7169 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.0001148/0.8824, allocations: 97.45 kB / 0.9539 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.759e-05/0.8825, allocations: 26.41 kB / 0.9539 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.8825, allocations: 4.125 kB / 0.9539 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.094e-05/0.8825, allocations: 4.375 kB / 0.9539 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.8827, allocations: 10.25 kB / 0.9539 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.883, allocations: 158.2 kB / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.8831, allocations: 0.6948 MB / 0.9548 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.292e-05/0.8832, allocations: 8.328 kB / 0.9548 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.8832, allocations: 12.12 kB / 0.9548 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8832, allocations: 0 / 0.9548 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of Templates: time 0.0026/0.8858, allocations: 447.4 kB / 0.9552 GB, free: 4.082 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches