Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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.0009894/0.0009894, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009708/0.0009708, allocations: 161 kB / 23.82 MB, free: 0.75 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.9672/0.9672, allocations: 177.1 MB / 204.2 MB, free: 5.258 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.814/1.814, allocations: 377.8 MB / 0.6236 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0.9844 kB / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.748e-05, allocations: 5.609 kB / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.006313/0.00633, allocations: 7.275 MB / 0.8186 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002794/0.009125, allocations: 2.554 MB / 0.8211 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002113/0.009336, allocations: 23.75 kB / 0.8212 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003732/0.009709, allocations: 127 kB / 0.8213 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006013/0.01031, allocations: 396.1 kB / 0.8217 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008146/0.01113, allocations: 0.5956 MB / 0.8222 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007743/0.0119, allocations: 0.9465 MB / 0.8232 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003261/0.01223, allocations: 265.8 kB / 0.8234 GB, free: 5.555 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004405/0.01267, allocations: 470.7 kB / 0.8239 GB, free: 5.094 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/0.01293, allocations: 251.2 kB / 0.8241 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.01297, allocations: 24 kB / 0.8241 GB, free: 4.824 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.01317, allocations: 123.7 kB / 0.8242 GB, free: 4.703 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.365e-05/0.01325, allocations: 87.53 kB / 0.8243 GB, free: 4.617 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.01336, allocations: 131.6 kB / 0.8245 GB, free: 4.488 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004047/0.01377, allocations: 367.4 kB / 0.8248 GB, free: 4.129 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.01377, allocations: 0 / 0.8248 GB, free: 4.129 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.172e-06/0.01377, allocations: 0 / 0.8248 GB, free: 4.129 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.01378, allocations: 1.031 kB / 0.8248 GB, free: 4.129 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007987/0.01457, allocations: 0.7428 MB / 0.8255 GB, free: 3.348 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.01461, allocations: 12.03 kB / 0.8255 GB, free: 3.336 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.029e-05/0.0147, allocations: 65.75 kB / 0.8256 GB, free: 3.273 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.01511, allocations: 352.7 kB / 0.8259 GB, free: 2.902 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.01513, allocations: 22.22 kB / 0.826 GB, free: 2.883 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.01516, allocations: 24.38 kB / 0.826 GB, free: 2.859 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003509/0.01551, allocations: 144.2 kB / 0.8261 GB, free: 2.715 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.01552, allocations: 0.7812 kB / 0.8261 GB, free: 2.715 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.01554, allocations: 8 kB / 0.8261 GB, free: 2.707 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.01555, allocations: 4.562 kB / 0.8261 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.01566, allocations: 66.95 kB / 0.8262 GB, free: 2.641 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008835/0.01655, allocations: 0.6793 MB / 0.8269 GB, free: 1.93 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.01682, allocations: 95.73 kB / 0.827 GB, free: 1.824 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.364e-05/0.01686, allocations: 27.67 kB / 0.827 GB, free: 1.793 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.557e-05/0.01696, allocations: 23.98 kB / 0.827 GB, free: 1.77 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.01698, allocations: 41.33 kB / 0.827 GB, free: 1.719 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 2.214e-06/0.01698, allocations: 3.984 kB / 0.827 GB, free: 1.715 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0002249/0.01721, allocations: 129.4 kB / 0.8272 GB, free: 1.582 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.01723, allocations: 55.41 kB / 0.8272 GB, free: 1.516 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.01751, allocations: 406.7 kB / 0.8276 GB, free: 1.102 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.01753, allocations: 25.7 kB / 0.8276 GB, free: 1.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.01765, allocations: 279.2 kB / 0.8279 GB, free: 0.793 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.01768, allocations: 39.66 kB / 0.8279 GB, free: 0.7539 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/0.01774, allocations: 63.34 kB / 0.828 GB, free: 0.6836 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.01786, allocations: 0.5157 MB / 0.8285 GB, free: 160 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.804e-05/0.01791, allocations: 23.98 kB / 0.8285 GB, free: 136 kB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.01806, allocations: 245.3 kB / 0.8288 GB, free: 15.83 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.01818, allocations: 102.7 kB / 0.8289 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01818, allocations: 0 / 0.8289 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002046/0.01838, allocations: 173.3 kB / 0.829 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.0184, allocations: 7.938 kB / 0.829 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.0184, allocations: 0 / 0.829 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.01842, allocations: 4 kB / 0.829 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.01853, allocations: 39.97 kB / 0.8291 GB, free: 15.49 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.01854, allocations: 11.94 kB / 0.8291 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.01866, allocations: 19.89 kB / 0.8291 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.01868, allocations: 12 kB / 0.8291 GB, free: 15.45 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.913e-05/0.01877, allocations: 164.6 kB / 0.8293 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.01881, allocations: 43.7 kB / 0.8293 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.01902, allocations: 141.9 kB / 0.8295 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.01902, allocations: 7.984 kB / 0.8295 GB, free: 15.08 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01903, allocations: 4 kB / 0.8295 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01903, allocations: 0 / 0.8295 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004668/0.0195, allocations: 0.5583 MB / 0.83 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.0195, allocations: 0 / 0.83 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.082e-05/0.01956, allocations: 27.92 kB / 0.83 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.01956, allocations: 0 / 0.83 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.01957, allocations: 8 kB / 0.83 GB, free: 14.42 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01958, allocations: 0 / 0.83 GB, free: 14.42 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.01958, allocations: 4 kB / 0.83 GB, free: 14.42 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.01977, allocations: 329.1 kB / 0.8304 GB, free: 14.06 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.01982, allocations: 47.69 kB / 0.8304 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.01985, allocations: 7.984 kB / 0.8304 GB, free: 14.01 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.183e-05/0.01994, allocations: 4 kB / 0.8304 GB, free: 14 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.348e-05/0.01996, allocations: 11.98 kB / 0.8304 GB, free: 13.99 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.01997, allocations: 4.062 kB / 0.8304 GB, free: 13.99 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001738/0.02014, allocations: 275.1 kB / 0.8307 GB, free: 13.72 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.02014, allocations: 0 / 0.8307 GB, free: 13.72 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002623/0.02041, allocations: 103.8 kB / 0.8308 GB, free: 13.62 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001981/0.02061, allocations: 167.1 kB / 0.831 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001681/0.02077, allocations: 97.23 kB / 0.831 GB, free: 13.35 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.02077, allocations: 0 / 0.831 GB, free: 13.35 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 5.634e-05/0.02083, allocations: 55.55 kB / 0.8311 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.02129, allocations: 150.8 kB / 0.8312 GB, free: 13.15 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.02241, allocations: 0.6547 MB / 0.8319 GB, free: 12.45 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.111e-05/0.02247, allocations: 100.6 kB / 0.832 GB, free: 12.33 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001183/0.02258, allocations: 58.25 kB / 0.832 GB, free: 12.28 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.02264, allocations: 32.5 kB / 0.8321 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of SimCode: time 6.61e-07/0.02264, allocations: 0 / 0.8321 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of Templates: time 0.008172/0.03081, allocations: 5.938 MB / 0.8379 GB, free: 6.5 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.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.160262780729681]