Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterProperties.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.001011/0.001011, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001019/0.001019, allocations: 181 kB / 23.36 MB, free: 1.133 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.9862/0.9862, allocations: 177.2 MB / 203.8 MB, free: 5.465 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.507/2.507, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.869e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004911/0.00493, allocations: 4.926 MB / 0.8435 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002024/0.006954, allocations: 2.842 MB / 0.8462 GB, free: 6.316 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.098e-05/0.007025, allocations: 3.938 kB / 0.8462 GB, free: 6.312 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.007236, allocations: 51.69 kB / 0.8463 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.007443, allocations: 107.2 kB / 0.8464 GB, free: 6.156 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008701/0.008313, allocations: 0.5658 MB / 0.8469 GB, free: 5.59 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.008515, allocations: 247.8 kB / 0.8472 GB, free: 5.348 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.008552, allocations: 10.45 kB / 0.8472 GB, free: 5.34 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.008744, allocations: 167.5 kB / 0.8473 GB, free: 5.176 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.008853, allocations: 71.78 kB / 0.8474 GB, free: 5.105 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.008873, allocations: 8 kB / 0.8474 GB, free: 5.098 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004657/0.009339, allocations: 339.1 kB / 0.8477 GB, free: 4.766 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.1e-05/0.0094, allocations: 39.83 kB / 0.8478 GB, free: 4.727 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.009451, allocations: 59.91 kB / 0.8478 GB, free: 4.668 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004084/0.009859, allocations: 366.8 kB / 0.8482 GB, free: 4.309 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.009862, allocations: 0 / 0.8482 GB, free: 4.309 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.21e-07/0.009862, allocations: 0 / 0.8482 GB, free: 4.309 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.009866, allocations: 0 / 0.8482 GB, free: 4.309 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0004949/0.01036, allocations: 427.6 kB / 0.8486 GB, free: 3.863 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.01039, allocations: 8.625 kB / 0.8486 GB, free: 3.855 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.01052, allocations: 44.84 kB / 0.8486 GB, free: 3.812 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.01067, allocations: 157.5 kB / 0.8488 GB, free: 3.633 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.01068, allocations: 8.703 kB / 0.8488 GB, free: 3.625 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.0107, allocations: 24.38 kB / 0.8488 GB, free: 3.602 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.01094, allocations: 402.9 kB / 0.8492 GB, free: 3.133 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.01095, allocations: 4.125 kB / 0.8492 GB, free: 3.129 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.01096, allocations: 12.12 kB / 0.8492 GB, free: 3.117 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.47e-05/0.01099, allocations: 7.984 kB / 0.8492 GB, free: 3.109 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.01119, allocations: 243.9 kB / 0.8495 GB, free: 2.871 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006009/0.01179, allocations: 0.6855 MB / 0.8501 GB, free: 2.152 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.01195, allocations: 153.5 kB / 0.8503 GB, free: 1.988 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.983e-05/0.01199, allocations: 40.78 kB / 0.8503 GB, free: 1.945 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004535/0.01245, allocations: 481.9 kB / 0.8508 GB, free: 1.461 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.01247, allocations: 34.56 kB / 0.8508 GB, free: 1.418 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 1.032e-06/0.01247, allocations: 4 kB / 0.8508 GB, free: 1.414 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.000153/0.01262, allocations: 132.8 kB / 0.8509 GB, free: 1.281 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.01264, allocations: 55.41 kB / 0.851 GB, free: 1.215 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.884e-05/0.01272, allocations: 161.8 kB / 0.8512 GB, free: 1.047 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.01274, allocations: 33.7 kB / 0.8512 GB, free: 1.008 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.0128, allocations: 152 kB / 0.8513 GB, free: 0.8555 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.01282, allocations: 51.58 kB / 0.8514 GB, free: 0.8047 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-05/0.01287, allocations: 49.69 kB / 0.8514 GB, free: 0.75 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.606e-05/0.01294, allocations: 330.7 kB / 0.8517 GB, free: 428 kB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.678e-05/0.01297, allocations: 26.75 kB / 0.8518 GB, free: 400 kB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.981e-05/0.01304, allocations: 125.7 kB / 0.8519 GB, free: 224 kB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.01318, allocations: 179.1 kB / 0.8521 GB, free: 15.99 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01318, allocations: 0 / 0.8521 GB, free: 15.99 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001508/0.01333, allocations: 160.1 kB / 0.8522 GB, free: 15.83 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.01334, allocations: 11.94 kB / 0.8522 GB, free: 15.82 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.01335, allocations: 4 kB / 0.8522 GB, free: 15.81 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.01336, allocations: 4.469 kB / 0.8522 GB, free: 15.81 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.0135, allocations: 67.91 kB / 0.8523 GB, free: 15.74 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.01351, allocations: 11.92 kB / 0.8523 GB, free: 15.73 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.823e-05/0.01357, allocations: 27.78 kB / 0.8523 GB, free: 15.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.01358, allocations: 8 kB / 0.8523 GB, free: 15.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 7.002e-05/0.01365, allocations: 136.5 kB / 0.8525 GB, free: 15.55 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.01368, allocations: 15.98 kB / 0.8525 GB, free: 15.54 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.01382, allocations: 112.6 kB / 0.8526 GB, free: 15.42 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.01383, allocations: 3.984 kB / 0.8526 GB, free: 15.42 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.01384, allocations: 3.984 kB / 0.8526 GB, free: 15.41 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.01384, allocations: 4 kB / 0.8526 GB, free: 15.41 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.01396, allocations: 105.8 kB / 0.8527 GB, free: 15.29 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01396, allocations: 7.875 kB / 0.8527 GB, free: 15.28 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.532e-05/0.01403, allocations: 31.98 kB / 0.8527 GB, free: 15.25 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01404, allocations: 0 / 0.8527 GB, free: 15.25 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.01405, allocations: 11.98 kB / 0.8528 GB, free: 15.24 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01405, allocations: 4 kB / 0.8528 GB, free: 15.23 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01405, allocations: 0 / 0.8528 GB, free: 15.23 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.01418, allocations: 226.2 kB / 0.853 GB, free: 15 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.01422, allocations: 27.77 kB / 0.853 GB, free: 14.97 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.01423, allocations: 15.98 kB / 0.853 GB, free: 14.95 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.824e-05/0.01431, allocations: 4 kB / 0.853 GB, free: 14.95 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.906e-05/0.01433, allocations: 11.98 kB / 0.853 GB, free: 14.94 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.01435, allocations: 11.98 kB / 0.853 GB, free: 14.93 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.524e-05/0.01437, allocations: 31.47 kB / 0.8531 GB, free: 14.89 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.01437, allocations: 0 / 0.8531 GB, free: 14.89 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002283/0.0146, allocations: 79.86 kB / 0.8532 GB, free: 14.82 MB / 0.823 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002037/0.0148, allocations: 164.1 kB / 0.8533 GB, free: 14.64 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.01492, allocations: 94.98 kB / 0.8534 GB, free: 14.55 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.01493, allocations: 4 kB / 0.8534 GB, free: 14.55 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.121e-05/0.01496, allocations: 40.77 kB / 0.8534 GB, free: 14.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.01517, allocations: 43.89 kB / 0.8535 GB, free: 14.46 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006631/0.01583, allocations: 343.5 kB / 0.8538 GB, free: 14.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.79e-05/0.01587, allocations: 68.3 kB / 0.8539 GB, free: 14.01 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.746e-05/0.01596, allocations: 45.39 kB / 0.8539 GB, free: 13.96 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.01612, allocations: 117.3 kB / 0.854 GB, free: 13.85 MB / 0.823 GB Notification: Performance of SimCode: time 9.82e-07/0.01612, allocations: 0 / 0.854 GB, free: 13.85 MB / 0.823 GB Notification: Performance of Templates: time 0.004915/0.02104, allocations: 3.453 MB / 0.8574 GB, free: 10.45 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterProperties.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.422446858137846]