Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001388/0.001388, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001077/0.001077, allocations: 173 kB / 23.49 MB, free: 1.062 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.915/0.915, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.046/2.046, allocations: 429.5 MB / 0.6736 GB, free: 4.059 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.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_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_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.8782 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.211e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.0123/0.01232, allocations: 15.95 MB / 0.8938 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004164/0.01648, allocations: 4.704 MB / 0.8984 GB, free: 1.953 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002801/0.01676, allocations: 27.75 kB / 0.8984 GB, free: 1.926 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004715/0.01724, allocations: 186.6 kB / 0.8986 GB, free: 1.742 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0008954/0.01813, allocations: 0.6136 MB / 0.8992 GB, free: 1.125 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009211/0.01905, allocations: 0.5882 MB / 0.8997 GB, free: 0.5352 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0009043/0.01996, allocations: 0.9269 MB / 0.9006 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003486/0.02031, allocations: 264.5 kB / 0.9009 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006161/0.02092, allocations: 0.5567 MB / 0.9014 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.0212, allocations: 255.2 kB / 0.9017 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/0.02124, allocations: 24 kB / 0.9017 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.02151, allocations: 195.5 kB / 0.9019 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 9.727e-05/0.02161, allocations: 87.53 kB / 0.902 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.02174, allocations: 131.6 kB / 0.9021 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005098/0.02225, allocations: 402.5 kB / 0.9025 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.02225, allocations: 0 / 0.9025 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.395e-06/0.02225, allocations: 0 / 0.9025 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.02226, allocations: 0 / 0.9025 GB, free: 13.71 MB / 0.8698 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.0008224/0.02308, allocations: 0.7558 MB / 0.9032 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.02312, allocations: 8.031 kB / 0.9032 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.493e-05/0.0232, allocations: 64.66 kB / 0.9033 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.02361, allocations: 362 kB / 0.9036 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.02363, allocations: 16.88 kB / 0.9036 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.02366, allocations: 24.38 kB / 0.9037 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.02386, allocations: 148.2 kB / 0.9038 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.02387, allocations: 0 / 0.9038 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.02389, allocations: 4 kB / 0.9038 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.0239, allocations: 8 kB / 0.9038 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.02402, allocations: 62.95 kB / 0.9039 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009628/0.02498, allocations: 0.6742 MB / 0.9045 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.02525, allocations: 111 kB / 0.9046 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.382e-05/0.0253, allocations: 27.67 kB / 0.9047 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.0254, allocations: 31.98 kB / 0.9047 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.02543, allocations: 41.27 kB / 0.9047 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.02543, allocations: 0 / 0.9047 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.0002419/0.02567, allocations: 125.4 kB / 0.9049 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.0257, allocations: 51.41 kB / 0.9049 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002852/0.02599, allocations: 414.7 kB / 0.9053 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.026, allocations: 29.64 kB / 0.9053 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.02613, allocations: 275.3 kB / 0.9056 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.02616, allocations: 43.64 kB / 0.9056 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.047e-05/0.02622, allocations: 59.34 kB / 0.9057 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.02636, allocations: 0.5079 MB / 0.9062 GB, free: 9.711 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.849e-05/0.0264, allocations: 27.97 kB / 0.9062 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.02655, allocations: 257.7 kB / 0.9065 GB, free: 9.371 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.02667, allocations: 102.6 kB / 0.9066 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.02667, allocations: 0 / 0.9066 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002122/0.02688, allocations: 173.3 kB / 0.9067 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.0269, allocations: 7.938 kB / 0.9067 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.02691, allocations: 4 kB / 0.9067 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.02692, allocations: 0 / 0.9067 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.02703, allocations: 47.91 kB / 0.9068 GB, free: 9.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.02704, allocations: 0 / 0.9068 GB, free: 9.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.02715, allocations: 19.89 kB / 0.9068 GB, free: 9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.02717, allocations: 12 kB / 0.9068 GB, free: 8.988 MB / 0.8698 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 9.737e-05/0.02727, allocations: 168.5 kB / 0.907 GB, free: 8.812 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.02731, allocations: 51.7 kB / 0.907 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.02754, allocations: 142.9 kB / 0.9072 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.02754, allocations: 0 / 0.9072 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.02755, allocations: 4 kB / 0.9072 GB, free: 8.617 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.02755, allocations: 3.984 kB / 0.9072 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004935/0.02805, allocations: 0.5504 MB / 0.9077 GB, free: 8.004 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.02805, allocations: 4 kB / 0.9077 GB, free: 8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.632e-05/0.02811, allocations: 24.11 kB / 0.9077 GB, free: 7.977 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.02811, allocations: 4 kB / 0.9077 GB, free: 7.973 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.02812, allocations: 4 kB / 0.9077 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.02812, allocations: 4 kB / 0.9077 GB, free: 7.965 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.02813, allocations: 0 / 0.9077 GB, free: 7.965 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.02832, allocations: 318.3 kB / 0.908 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.02837, allocations: 51.69 kB / 0.9081 GB, free: 7.566 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.0284, allocations: 4.078 kB / 0.9081 GB, free: 7.562 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.597e-05/0.02848, allocations: 4 kB / 0.9081 GB, free: 7.559 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.02851, allocations: 20.03 kB / 0.9081 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.02852, allocations: 12 kB / 0.9081 GB, free: 7.527 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001674/0.02869, allocations: 279 kB / 0.9084 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.02869, allocations: 0 / 0.9084 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002669/0.02895, allocations: 111.7 kB / 0.9085 GB, free: 7.145 MB / 0.8698 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.0002492/0.0292, allocations: 191.1 kB / 0.9087 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001752/0.02938, allocations: 103 kB / 0.9088 GB, free: 6.848 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.02938, allocations: 7.938 kB / 0.9088 GB, free: 6.84 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.894e-05/0.02944, allocations: 47.61 kB / 0.9088 GB, free: 6.789 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.0299, allocations: 156.7 kB / 0.909 GB, free: 6.637 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.03103, allocations: 0.6354 MB / 0.9096 GB, free: 5.953 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.096e-05/0.03109, allocations: 108.5 kB / 0.9097 GB, free: 5.828 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001134/0.0312, allocations: 50.94 kB / 0.9098 GB, free: 5.777 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.711e-05/0.03125, allocations: 28.5 kB / 0.9098 GB, free: 5.75 MB / 0.8698 GB Notification: Performance of SimCode: time 9.02e-07/0.03125, allocations: 0 / 0.9098 GB, free: 5.75 MB / 0.8698 GB Notification: Performance of Templates: time 0.00809/0.03934, allocations: 6.575 MB / 0.9162 GB, free: 15.36 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.528416783781722]