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.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.001222/0.001222, allocations: 92.22 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.001267/0.001267, allocations: 173 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.9326/0.9326, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.054/2.054, allocations: 429.5 MB / 0.6733 GB, free: 4.02 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_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 2.374e-06/2.374e-06, allocations: 0 / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.232e-05/3.469e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002298/0.002333, allocations: 0.8235 MB / 0.879 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001766/0.00251, allocations: 44.5 kB / 0.879 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.918e-05/0.002569, allocations: 4.562 kB / 0.879 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.559e-05/0.002614, allocations: 13 kB / 0.8791 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.002715, allocations: 7.922 kB / 0.8791 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.4e-05/0.002769, allocations: 19.97 kB / 0.8791 GB, free: 5.406 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.002895, allocations: 64.94 kB / 0.8791 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.003027, allocations: 23.92 kB / 0.8792 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.00314, allocations: 47.83 kB / 0.8792 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.484e-05/0.003185, allocations: 20.56 kB / 0.8792 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.003208, allocations: 4 kB / 0.8792 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.003218, allocations: 8.719 kB / 0.8792 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.003242, allocations: 11.92 kB / 0.8793 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.003273, allocations: 19.84 kB / 0.8793 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.003388, allocations: 43.83 kB / 0.8793 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.003391, allocations: 0 / 0.8793 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.212e-06/0.003393, allocations: 0 / 0.8793 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.003398, allocations: 0 / 0.8793 GB, free: 5.172 MB / 0.8386 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.0004549/0.003853, allocations: 408.2 kB / 0.8797 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.003896, allocations: 12.03 kB / 0.8797 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.003946, allocations: 12.89 kB / 0.8797 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.004124, allocations: 140.4 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.004139, allocations: 4.375 kB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.004154, allocations: 9.844 kB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.004321, allocations: 89.48 kB / 0.88 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.00433, allocations: 192 / 0.88 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.004343, allocations: 4.375 kB / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.004353, allocations: 1.312 kB / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.651e-05/0.004419, allocations: 31.91 kB / 0.88 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006258/0.005045, allocations: 0.7463 MB / 0.8807 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.005151, allocations: 273.6 kB / 0.881 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.098e-05/0.005192, allocations: 128 kB / 0.8811 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.005225, allocations: 123.2 kB / 0.8812 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.495e-05/0.00528, allocations: 152.6 kB / 0.8814 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.582e-06/0.005282, allocations: 1.062 kB / 0.8814 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.659e-05/0.005358, allocations: 33.66 kB / 0.8814 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.005425, allocations: 178.5 kB / 0.8816 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.005589, allocations: 204.9 kB / 0.8818 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.005601, allocations: 25.7 kB / 0.8818 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.317e-05/0.005694, allocations: 177.3 kB / 0.882 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-06/0.005698, allocations: 0 / 0.882 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/0.005742, allocations: 35.31 kB / 0.882 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.005885, allocations: 496.1 kB / 0.8825 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.005905, allocations: 4 kB / 0.8825 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-05/0.005961, allocations: 77.48 kB / 0.8825 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.254e-05/0.006053, allocations: 91.69 kB / 0.8826 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.006056, allocations: 1.656 kB / 0.8826 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001638/0.006219, allocations: 85.98 kB / 0.8827 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.006236, allocations: 5.719 kB / 0.8827 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.006242, allocations: 4 kB / 0.8827 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.006261, allocations: 8 kB / 0.8827 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.006334, allocations: 12 kB / 0.8827 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.006342, allocations: 4.719 kB / 0.8828 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.921e-05/0.006381, allocations: 7.953 kB / 0.8828 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.00639, allocations: 8.734 kB / 0.8828 GB, free: 1.348 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.000115/0.006505, allocations: 287.6 kB / 0.883 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-05/0.006573, allocations: 154.4 kB / 0.8832 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.052e-05/0.006634, allocations: 156.6 kB / 0.8833 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.396e-05/0.006708, allocations: 276 kB / 0.8836 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.916e-05/0.006777, allocations: 268 kB / 0.8839 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-05/0.006871, allocations: 280.2 kB / 0.8841 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.007112, allocations: 0.5077 MB / 0.8846 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-05/0.007153, allocations: 148.8 kB / 0.8848 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.955e-05/0.007193, allocations: 144.9 kB / 0.8849 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-05/0.007263, allocations: 264.1 kB / 0.8852 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/0.007335, allocations: 276 kB / 0.8854 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.259e-05/0.007408, allocations: 268.1 kB / 0.8857 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-05/0.007482, allocations: 268 kB / 0.8859 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.007637, allocations: 451.9 kB / 0.8864 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.007704, allocations: 160.8 kB / 0.8865 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.474e-05/0.007789, allocations: 268.1 kB / 0.8868 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.904e-05/0.007868, allocations: 152.8 kB / 0.8869 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/0.007942, allocations: 264.4 kB / 0.8872 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.594e-05/0.007988, allocations: 156.8 kB / 0.8873 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.793e-05/0.008066, allocations: 148.7 kB / 0.8875 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.008066, allocations: 0 / 0.8875 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002861/0.008352, allocations: 8 kB / 0.8875 GB, free: 12.34 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001648/0.008517, allocations: 210.4 kB / 0.8877 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001235/0.008641, allocations: 35.95 kB / 0.8877 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.008645, allocations: 8.188 kB / 0.8877 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.008647, allocations: 0 / 0.8877 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.009075, allocations: 0.7083 MB / 0.8884 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.00943, allocations: 269.6 kB / 0.8887 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.419e-05/0.009474, allocations: 63.28 kB / 0.8887 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.248e-05/0.009517, allocations: 8.719 kB / 0.8887 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.009539, allocations: 8.5 kB / 0.8887 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of SimCode: time 8.52e-07/0.00954, allocations: 4 kB / 0.8887 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of Templates: time 0.002541/0.01208, allocations: 329.9 kB / 0.8891 GB, free: 10.64 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) [Timeout 240] 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","",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.239012580830604]