Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009365/0.0009365, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009811/0.0009811, allocations: 165 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9858/0.9858, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.16/2.16, allocations: 429.5 MB / 0.6732 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.8782 GB, free: 5.148 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.116e-05, allocations: 2.312 kB / 0.8782 GB, free: 5.145 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002461/0.002492, allocations: 0.8186 MB / 0.879 GB, free: 4.352 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001643/0.002656, allocations: 38.25 kB / 0.879 GB, free: 4.316 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.017e-05/0.002716, allocations: 3.938 kB / 0.879 GB, free: 4.312 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.196e-05/0.002768, allocations: 11.86 kB / 0.879 GB, free: 4.301 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.986e-05/0.002858, allocations: 11.88 kB / 0.879 GB, free: 4.289 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 5.992e-05/0.002918, allocations: 19.98 kB / 0.8791 GB, free: 4.27 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.003043, allocations: 61.95 kB / 0.8791 GB, free: 4.211 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.003192, allocations: 35.91 kB / 0.8792 GB, free: 4.176 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.578e-05/0.003288, allocations: 43.83 kB / 0.8792 GB, free: 4.133 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.94e-05/0.003358, allocations: 15.92 kB / 0.8792 GB, free: 4.117 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.003384, allocations: 8 kB / 0.8792 GB, free: 4.109 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.066e-05/0.003395, allocations: 4 kB / 0.8792 GB, free: 4.105 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.974e-05/0.003425, allocations: 20.64 kB / 0.8792 GB, free: 4.086 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.667e-05/0.003461, allocations: 15.92 kB / 0.8793 GB, free: 4.07 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.003593, allocations: 45.48 kB / 0.8793 GB, free: 4.027 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.003596, allocations: 0 / 0.8793 GB, free: 4.027 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.122e-06/0.003597, allocations: 3.938 kB / 0.8793 GB, free: 4.023 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.003603, allocations: 0 / 0.8793 GB, free: 4.023 MB / 0.7917 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.000478/0.004081, allocations: 408.8 kB / 0.8797 GB, free: 3.586 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.004128, allocations: 9.906 kB / 0.8797 GB, free: 3.578 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.004178, allocations: 16.89 kB / 0.8797 GB, free: 3.562 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.004474, allocations: 132.5 kB / 0.8799 GB, free: 3.406 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.004488, allocations: 8.375 kB / 0.8799 GB, free: 3.398 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.004505, allocations: 4.375 kB / 0.8799 GB, free: 3.395 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.004663, allocations: 90.73 kB / 0.8799 GB, free: 3.293 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.004676, allocations: 192 / 0.8799 GB, free: 3.293 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.004693, allocations: 12.3 kB / 0.88 GB, free: 3.281 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.004705, allocations: 5.969 kB / 0.88 GB, free: 3.277 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.678e-05/0.004772, allocations: 27.86 kB / 0.88 GB, free: 3.25 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005232/0.005295, allocations: 462.4 kB / 0.8804 GB, free: 2.758 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.09e-05/0.005356, allocations: 58.19 kB / 0.8805 GB, free: 2.676 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.866e-05/0.005395, allocations: 23.47 kB / 0.8805 GB, free: 2.645 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.005403, allocations: 0 / 0.8805 GB, free: 2.645 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.005432, allocations: 41.39 kB / 0.8806 GB, free: 2.594 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.005433, allocations: 0 / 0.8806 GB, free: 2.594 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0001738/0.005607, allocations: 45.58 kB / 0.8806 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.005655, allocations: 81.11 kB / 0.8807 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.005787, allocations: 185.8 kB / 0.8808 GB, free: 2.246 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.005799, allocations: 29.95 kB / 0.8809 GB, free: 2.211 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 7.668e-05/0.005876, allocations: 158.7 kB / 0.881 GB, free: 2.051 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 9.889e-06/0.005885, allocations: 7.953 kB / 0.881 GB, free: 2.043 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.005923, allocations: 23.38 kB / 0.8811 GB, free: 2.012 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.00607, allocations: 496.1 kB / 0.8815 GB, free: 1.516 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.00609, allocations: 8 kB / 0.8815 GB, free: 1.508 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.412e-05/0.006114, allocations: 19.38 kB / 0.8816 GB, free: 1.48 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.822e-05/0.006162, allocations: 31.31 kB / 0.8816 GB, free: 1.441 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.006165, allocations: 0 / 0.8816 GB, free: 1.441 MB / 0.7917 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.87e-05/0.006254, allocations: 57.67 kB / 0.8816 GB, free: 1.379 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.00627, allocations: 8 kB / 0.8817 GB, free: 1.371 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.006276, allocations: 0 / 0.8817 GB, free: 1.371 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.006295, allocations: 3.984 kB / 0.8817 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.548e-05/0.00636, allocations: 12 kB / 0.8817 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.006369, allocations: 3.938 kB / 0.8817 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.535e-05/0.006394, allocations: 3.938 kB / 0.8817 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.006399, allocations: 0 / 0.8817 GB, free: 1.348 MB / 0.7917 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 8.038e-05/0.00648, allocations: 160.6 kB / 0.8818 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.006526, allocations: 7.953 kB / 0.8818 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.181e-05/0.006558, allocations: 11.53 kB / 0.8818 GB, free: 1.16 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.00656, allocations: 0 / 0.8818 GB, free: 1.16 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.006564, allocations: 4 kB / 0.8818 GB, free: 1.156 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.006569, allocations: 3.938 kB / 0.8819 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003906/0.006959, allocations: 0.5383 MB / 0.8824 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.006963, allocations: 3.938 kB / 0.8824 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.991e-05/0.006982, allocations: 4 kB / 0.8824 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.006985, allocations: 0 / 0.8824 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.006996, allocations: 7.938 kB / 0.8824 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.006998, allocations: 4.062 kB / 0.8824 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.007001, allocations: 7.938 kB / 0.8824 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.92e-05/0.00708, allocations: 84.08 kB / 0.8825 GB, free: 436 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/0.007103, allocations: 11.95 kB / 0.8825 GB, free: 424 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.007115, allocations: 3.938 kB / 0.8825 GB, free: 420 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.578e-05/0.007131, allocations: 0 / 0.8825 GB, free: 420 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.738e-05/0.007148, allocations: 3.984 kB / 0.8825 GB, free: 416 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.007152, allocations: 4 kB / 0.8825 GB, free: 412 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 6.8e-05/0.00722, allocations: 141.8 kB / 0.8826 GB, free: 272 kB / 0.7917 GB Notification: Performance of sort global known variables: time 1.01e-07/0.00722, allocations: 0 / 0.8826 GB, free: 272 kB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002231/0.007443, allocations: 4 kB / 0.8826 GB, free: 268 kB / 0.7917 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 9.993e-05/0.007543, allocations: 99.28 kB / 0.8827 GB, free: 160 kB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 9.471e-05/0.007638, allocations: 27.61 kB / 0.8828 GB, free: 128 kB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.00764, allocations: 0 / 0.8828 GB, free: 128 kB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.166e-05/0.007652, allocations: 11.69 kB / 0.8828 GB, free: 112 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.007827, allocations: 11.94 kB / 0.8828 GB, free: 100 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.008181, allocations: 170.5 kB / 0.883 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.605e-05/0.008227, allocations: 63.59 kB / 0.883 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.019e-05/0.008257, allocations: 7.984 kB / 0.883 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.008283, allocations: 12.5 kB / 0.883 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of SimCode: time 6.01e-07/0.008284, allocations: 0 / 0.883 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of Templates: time 0.00281/0.01109, allocations: 346.5 kB / 0.8834 GB, free: 15.46 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.5878306101076305]