Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 106.3 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 249.9 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.842/2.842, allocations: 476.7 MB / 0.7634 GB, free: 10.94 MB / 0.6231 GB [Timeout remaining time 86] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.89 kB / 1.108 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8718/0.8738, allocations: 168.7 MB / 1.272 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.0022/0.876, allocations: 0.8349 MB / 1.273 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001208/0.8761, allocations: 39.78 kB / 1.273 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.567e-05/0.8762, allocations: 0 / 1.273 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.563e-05/0.8762, allocations: 11.88 kB / 1.273 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.901e-05/0.8763, allocations: 11.94 kB / 1.273 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.069e-05/0.8764, allocations: 15.98 kB / 1.273 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.8765, allocations: 67.77 kB / 1.273 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.8766, allocations: 35.88 kB / 1.273 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.958e-05/0.8767, allocations: 23.92 kB / 1.273 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.209e-05/0.8768, allocations: 27.8 kB / 1.273 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.8768, allocations: 7.938 kB / 1.273 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.419e-05/0.8768, allocations: 8 kB / 1.273 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.733e-05/0.8768, allocations: 19.92 kB / 1.273 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.848e-05/0.8769, allocations: 27.8 kB / 1.274 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.877, allocations: 81.98 kB / 1.274 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.877, allocations: 0 / 1.274 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.018e-06/0.877, allocations: 3.984 kB / 1.274 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.877, allocations: 0 / 1.274 GB, free: 3.531 MB / 0.9669 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.0005027/0.8775, allocations: 375.2 kB / 1.274 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.8776, allocations: 8.031 kB / 1.274 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.8776, allocations: 12.84 kB / 1.274 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.8778, allocations: 204.1 kB / 1.274 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.8779, allocations: 12.38 kB / 1.274 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.8779, allocations: 4.375 kB / 1.274 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.8781, allocations: 90.45 kB / 1.274 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.8781, allocations: 192 / 1.274 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.8781, allocations: 11.94 kB / 1.274 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.8781, allocations: 0 / 1.274 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.237e-05/0.8782, allocations: 35.92 kB / 1.274 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/0.8788, allocations: 436.7 kB / 1.275 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.968e-05/0.8788, allocations: 45.27 kB / 1.275 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/0.8789, allocations: 17.84 kB / 1.275 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.774e-06/0.8789, allocations: 0 / 1.275 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.8789, allocations: 38.56 kB / 1.275 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.8789, allocations: 0 / 1.275 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001918/0.8791, allocations: 57.52 kB / 1.275 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.8792, allocations: 77.11 kB / 1.275 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.8793, allocations: 160.9 kB / 1.275 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.8794, allocations: 25.7 kB / 1.275 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.847e-05/0.8794, allocations: 108.3 kB / 1.275 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.097e-05/0.8795, allocations: 15.88 kB / 1.275 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.8795, allocations: 17.67 kB / 1.275 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.8796, allocations: 314.8 kB / 1.276 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.8797, allocations: 11.98 kB / 1.276 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.683e-05/0.8797, allocations: 17.72 kB / 1.276 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.915e-05/0.8797, allocations: 29.72 kB / 1.276 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8797, allocations: 0 / 1.276 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.796e-05/0.8798, allocations: 57.58 kB / 1.276 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.8799, allocations: 4 kB / 1.276 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.8799, allocations: 3.938 kB / 1.276 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.8799, allocations: 7.938 kB / 1.276 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.278e-05/0.88, allocations: 8 kB / 1.276 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.88, allocations: 0 / 1.276 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.124e-05/0.88, allocations: 11.88 kB / 1.276 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.88, allocations: 64 / 1.276 GB, free: 1.094 MB / 0.9669 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 0.0001011/0.8801, allocations: 121.8 kB / 1.276 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.8801, allocations: 7.953 kB / 1.276 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.8802, allocations: 15.75 kB / 1.276 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.8802, allocations: 0 / 1.276 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8802, allocations: 0 / 1.276 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.8802, allocations: 0 / 1.276 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004475/0.8806, allocations: 478.7 kB / 1.276 GB, free: 416 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.8806, allocations: 0 / 1.276 GB, free: 416 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.784e-05/0.8806, allocations: 4 kB / 1.276 GB, free: 412 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.8807, allocations: 7.984 kB / 1.276 GB, free: 404 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.8807, allocations: 4 kB / 1.276 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.8807, allocations: 0 / 1.276 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8807, allocations: 0 / 1.276 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.967e-05/0.8808, allocations: 81.95 kB / 1.276 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-05/0.8808, allocations: 89.05 kB / 1.276 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.8808, allocations: 0 / 1.276 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.97e-05/0.8809, allocations: 0 / 1.276 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.832e-05/0.8809, allocations: 7.938 kB / 1.276 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.8809, allocations: 96 / 1.276 GB, free: 180 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.917e-05/0.881, allocations: 119.2 kB / 1.277 GB, free: 60 kB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.881, allocations: 0 / 1.277 GB, free: 60 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001937/0.8812, allocations: 12 kB / 1.277 GB, free: 48 kB / 0.9669 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.0001658/0.8813, allocations: 103.3 kB / 1.277 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.552e-05/0.8814, allocations: 19.94 kB / 1.277 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8814, allocations: 0 / 1.277 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.524e-05/0.8815, allocations: 7.938 kB / 1.277 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.8816, allocations: 11.92 kB / 1.277 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004188/0.882, allocations: 200.5 kB / 1.277 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.8824, allocations: 0.6929 MB / 1.278 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.8824, allocations: 11.44 kB / 1.278 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of SimCode: time 4.3e-07/0.8824, allocations: 0 / 1.278 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of Templates: time 0.002734/0.8852, allocations: 0.8691 MB / 1.278 GB, free: 14.06 MB / 0.9825 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches