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.001311/0.001311, 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.001316/0.001316, 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.9523/0.9523, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.32/2.32, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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.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.282e-06/1.282e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469e-05/1.597e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.006245/0.006261, allocations: 7.257 MB / 0.8457 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002891/0.009152, allocations: 2.567 MB / 0.8482 GB, free: 4.324 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.009344, allocations: 23.75 kB / 0.8482 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.00967, allocations: 127 kB / 0.8484 GB, free: 4.176 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0005483/0.01022, allocations: 401.5 kB / 0.8487 GB, free: 3.781 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007279/0.01095, allocations: 0.5726 MB / 0.8493 GB, free: 3.207 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0006969/0.01164, allocations: 0.9075 MB / 0.8502 GB, free: 2.297 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002563/0.0119, allocations: 249.1 kB / 0.8504 GB, free: 2.047 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004338/0.01233, allocations: 474.6 kB / 0.8509 GB, free: 1.582 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.01256, allocations: 243.2 kB / 0.8511 GB, free: 1.344 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.0126, allocations: 24 kB / 0.8511 GB, free: 1.32 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.01277, allocations: 111.8 kB / 0.8512 GB, free: 1.211 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.771e-05/0.01284, allocations: 87.59 kB / 0.8513 GB, free: 1.125 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.394e-05/0.01293, allocations: 127.6 kB / 0.8514 GB, free: 1 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.01328, allocations: 358.6 kB / 0.8518 GB, free: 0.6484 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.01328, allocations: 0 / 0.8518 GB, free: 0.6484 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.21e-07/0.01328, allocations: 0 / 0.8518 GB, free: 0.6484 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.01329, allocations: 0 / 0.8518 GB, free: 0.6484 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006113/0.0139, allocations: 0.6078 MB / 0.8524 GB, free: 12 kB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.01393, allocations: 12.03 kB / 0.8524 GB, free: 0 / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.263e-05/0.014, allocations: 44.89 kB / 0.8524 GB, free: 15.96 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.01436, allocations: 332.4 kB / 0.8527 GB, free: 15.61 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.01438, allocations: 20.88 kB / 0.8528 GB, free: 15.59 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.0144, allocations: 24.38 kB / 0.8528 GB, free: 15.56 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.01458, allocations: 139 kB / 0.8529 GB, free: 15.42 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.01459, allocations: 0 / 0.8529 GB, free: 15.42 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.0146, allocations: 12 kB / 0.8529 GB, free: 15.41 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.01461, allocations: 8 kB / 0.8529 GB, free: 15.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.546e-05/0.01468, allocations: 43.47 kB / 0.853 GB, free: 15.36 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006848/0.01536, allocations: 469.1 kB / 0.8534 GB, free: 14.88 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.0156, allocations: 125.2 kB / 0.8536 GB, free: 14.75 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.046e-05/0.01563, allocations: 27.61 kB / 0.8536 GB, free: 14.71 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.912e-05/0.01571, allocations: 23.97 kB / 0.8536 GB, free: 14.69 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000267/0.01598, allocations: 30.56 kB / 0.8536 GB, free: 14.65 MB / 0.823 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.01598, allocations: 4 kB / 0.8536 GB, free: 14.65 MB / 0.823 GB Notification: Performance of matching and sorting (n=12): time 0.0001734/0.01616, allocations: 97.58 kB / 0.8537 GB, free: 14.55 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.01619, allocations: 51.41 kB / 0.8538 GB, free: 14.48 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.01639, allocations: 331.3 kB / 0.8541 GB, free: 14.15 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.01641, allocations: 33.7 kB / 0.8541 GB, free: 14.11 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.787e-05/0.0165, allocations: 189.4 kB / 0.8543 GB, free: 13.92 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.01652, allocations: 39.64 kB / 0.8543 GB, free: 13.88 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.01658, allocations: 57.66 kB / 0.8544 GB, free: 13.82 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.62e-05/0.01666, allocations: 342.8 kB / 0.8547 GB, free: 13.47 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.014e-05/0.01669, allocations: 18.81 kB / 0.8547 GB, free: 13.45 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.0168, allocations: 234.8 kB / 0.855 GB, free: 13.17 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.945e-05/0.01689, allocations: 91.67 kB / 0.8551 GB, free: 13.07 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.0169, allocations: 0 / 0.8551 GB, free: 13.07 MB / 0.823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001454/0.01704, allocations: 131.2 kB / 0.8552 GB, free: 12.93 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.01705, allocations: 7.984 kB / 0.8552 GB, free: 12.92 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.01706, allocations: 0 / 0.8552 GB, free: 12.92 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.01707, allocations: 7.938 kB / 0.8552 GB, free: 12.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.01723, allocations: 51.91 kB / 0.8552 GB, free: 12.86 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.01724, allocations: 0 / 0.8552 GB, free: 12.86 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.01734, allocations: 27.78 kB / 0.8553 GB, free: 12.84 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.01736, allocations: 15.98 kB / 0.8553 GB, free: 12.82 MB / 0.823 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 7.985e-05/0.01744, allocations: 124.6 kB / 0.8554 GB, free: 12.69 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.01747, allocations: 19.97 kB / 0.8554 GB, free: 12.67 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.01763, allocations: 115.5 kB / 0.8555 GB, free: 12.55 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.01763, allocations: 7.984 kB / 0.8555 GB, free: 12.54 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.01764, allocations: 0 / 0.8555 GB, free: 12.54 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.01764, allocations: 0 / 0.8555 GB, free: 12.54 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000379/0.01802, allocations: 493.2 kB / 0.856 GB, free: 12.02 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.01802, allocations: 64 / 0.856 GB, free: 12.02 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.545e-05/0.01811, allocations: 38 kB / 0.856 GB, free: 11.98 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.01811, allocations: 4.094 kB / 0.8561 GB, free: 11.98 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.01812, allocations: 7.984 kB / 0.8561 GB, free: 11.97 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.01812, allocations: 4 kB / 0.8561 GB, free: 11.97 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01812, allocations: 0 / 0.8561 GB, free: 11.97 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.01827, allocations: 284.7 kB / 0.8563 GB, free: 11.66 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.01832, allocations: 35.73 kB / 0.8564 GB, free: 11.62 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.01834, allocations: 12.12 kB / 0.8564 GB, free: 11.61 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-05/0.01843, allocations: 7.984 kB / 0.8564 GB, free: 11.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.01845, allocations: 11.98 kB / 0.8564 GB, free: 11.59 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.01846, allocations: 4 kB / 0.8564 GB, free: 11.59 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001018/0.01856, allocations: 140.7 kB / 0.8565 GB, free: 11.45 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01856, allocations: 3.938 kB / 0.8565 GB, free: 11.45 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00023/0.01879, allocations: 95.77 kB / 0.8566 GB, free: 11.35 MB / 0.823 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.0001837/0.01897, allocations: 128.2 kB / 0.8568 GB, free: 11.22 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.0191, allocations: 84.62 kB / 0.8568 GB, free: 11.13 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.01911, allocations: 4 kB / 0.8568 GB, free: 11.13 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.228e-05/0.01915, allocations: 40.77 kB / 0.8569 GB, free: 11.09 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.01954, allocations: 138.4 kB / 0.857 GB, free: 10.95 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.02057, allocations: 0.6358 MB / 0.8576 GB, free: 10.27 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.75e-05/0.02063, allocations: 100.6 kB / 0.8577 GB, free: 10.15 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001164/0.02075, allocations: 49.64 kB / 0.8578 GB, free: 10.11 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.02098, allocations: 159.2 kB / 0.8579 GB, free: 9.953 MB / 0.823 GB Notification: Performance of SimCode: time 7.32e-07/0.02098, allocations: 0 / 0.8579 GB, free: 9.953 MB / 0.823 GB Notification: Performance of Templates: time 0.008767/0.02974, allocations: 6.442 MB / 0.8642 GB, free: 3.703 MB / 0.823 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 -s gbode -gbm=radauIIA3 -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.2501710201613605]