Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 105.1 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 186.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.325/3.325, allocations: 496.1 MB / 0.7801 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 176] 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_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 68.42 kB / 1.133 GB, free: 34.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4704/0.4725, allocations: 173.7 MB / 1.303 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002742/0.4752, allocations: 0.8312 MB / 1.303 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001668/0.4754, allocations: 39.78 kB / 1.304 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.183e-05/0.4755, allocations: 4 kB / 1.304 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.34e-05/0.4755, allocations: 7.875 kB / 1.304 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.4756, allocations: 19.86 kB / 1.304 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.035e-05/0.4757, allocations: 15.98 kB / 1.304 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.4758, allocations: 63.84 kB / 1.304 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.476, allocations: 27.97 kB / 1.304 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.477e-05/0.4761, allocations: 23.92 kB / 1.304 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.61e-05/0.4762, allocations: 31.73 kB / 1.304 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.4762, allocations: 8 kB / 1.304 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.4762, allocations: 4 kB / 1.304 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.131e-05/0.4762, allocations: 19.92 kB / 1.304 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.94e-05/0.4763, allocations: 27.81 kB / 1.304 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.4764, allocations: 83.56 kB / 1.304 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4764, allocations: 0 / 1.304 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4764, allocations: 0 / 1.304 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.4764, allocations: 0 / 1.304 GB, free: 1.395 MB / 0.9981 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.0005687/0.477, allocations: 383.1 kB / 1.304 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.4771, allocations: 8.031 kB / 1.304 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.4771, allocations: 16.84 kB / 1.304 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.4774, allocations: 200.1 kB / 1.304 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.4774, allocations: 8.375 kB / 1.304 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.4774, allocations: 8.375 kB / 1.304 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.4776, allocations: 97.77 kB / 1.305 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.4776, allocations: 192 / 1.305 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.4776, allocations: 11.94 kB / 1.305 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4776, allocations: 0 / 1.305 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.03e-05/0.4777, allocations: 31.98 kB / 1.305 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006385/0.4784, allocations: 448.7 kB / 1.305 GB, free: 56 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.064e-05/0.4784, allocations: 33.16 kB / 1.305 GB, free: 4 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.067e-05/0.4785, allocations: 21.84 kB / 1.305 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.4785, allocations: 0 / 1.305 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.4785, allocations: 38.59 kB / 1.305 GB, free: 15.93 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.4785, allocations: 0 / 1.305 GB, free: 15.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002108/0.4788, allocations: 57.52 kB / 1.305 GB, free: 15.87 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.4788, allocations: 81.11 kB / 1.305 GB, free: 15.77 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.479, allocations: 158.2 kB / 1.305 GB, free: 15.61 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.479, allocations: 25.7 kB / 1.305 GB, free: 15.57 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.58e-05/0.4791, allocations: 108 kB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.378e-06/0.4791, allocations: 4.203 kB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.4791, allocations: 21.67 kB / 1.306 GB, free: 15.43 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4793, allocations: 322.8 kB / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.858e-05/0.4793, allocations: 4 kB / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.564e-05/0.4793, allocations: 17.72 kB / 1.306 GB, free: 15.08 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.905e-05/0.4794, allocations: 33.64 kB / 1.306 GB, free: 15.04 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4794, allocations: 4 kB / 1.306 GB, free: 15.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.013e-05/0.4795, allocations: 49.66 kB / 1.306 GB, free: 14.98 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.4795, allocations: 8 kB / 1.306 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.4795, allocations: 3.938 kB / 1.306 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.4795, allocations: 0 / 1.306 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.376e-05/0.4796, allocations: 11.92 kB / 1.306 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4796, allocations: 4 kB / 1.306 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.163e-05/0.4796, allocations: 7.938 kB / 1.306 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-06/0.4796, allocations: 0 / 1.306 GB, free: 14.95 MB / 1.014 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.453e-05/0.4797, allocations: 117.9 kB / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.4798, allocations: 7.953 kB / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.4798, allocations: 11.81 kB / 1.306 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.4798, allocations: 0 / 1.306 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4798, allocations: 4 kB / 1.306 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4798, allocations: 3.984 kB / 1.306 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/0.4802, allocations: 482.7 kB / 1.307 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4802, allocations: 0 / 1.307 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.153e-05/0.4803, allocations: 4 kB / 1.307 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4803, allocations: 0 / 1.307 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.4803, allocations: 96 / 1.307 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4803, allocations: 0 / 1.307 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4803, allocations: 0 / 1.307 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.4804, allocations: 89.86 kB / 1.307 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.4805, allocations: 93 kB / 1.307 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.4805, allocations: 4 kB / 1.307 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.123e-05/0.4805, allocations: 4 kB / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.4805, allocations: 3.984 kB / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.4805, allocations: 0 / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.913e-05/0.4806, allocations: 118.1 kB / 1.307 GB, free: 13.91 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4806, allocations: 0 / 1.307 GB, free: 13.91 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001839/0.4808, allocations: 12 kB / 1.307 GB, free: 13.9 MB / 1.014 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.0001387/0.4809, allocations: 103.3 kB / 1.307 GB, free: 13.79 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.481, allocations: 19.94 kB / 1.307 GB, free: 13.77 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.481, allocations: 0 / 1.307 GB, free: 13.77 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.073e-05/0.4811, allocations: 4 kB / 1.307 GB, free: 13.77 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.4812, allocations: 13.66 kB / 1.307 GB, free: 13.76 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.4816, allocations: 174.8 kB / 1.307 GB, free: 13.55 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.4819, allocations: 0.6924 MB / 1.308 GB, free: 12.83 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.296e-05/0.482, allocations: 8.422 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.482, allocations: 11.44 kB / 1.308 GB, free: 12.81 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.482, allocations: 0 / 1.308 GB, free: 12.81 MB / 1.014 GB Notification: Performance of Templates: time 0.003163/0.4852, allocations: 472.4 kB / 1.308 GB, free: 12.35 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.651228085160255]