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.0009167/0.0009167, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009288/0.0009288, allocations: 177 kB / 23.36 MB, free: 1.129 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.9094/0.9094, 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.224/2.224, allocations: 438.8 MB / 0.6827 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 178] 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 2.535e-06/2.535e-06, allocations: 0 / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.565e-05, allocations: 10.25 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.006868/0.006893, allocations: 7.2 MB / 0.8456 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003561/0.01045, allocations: 2.562 MB / 0.8481 GB, free: 4.426 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005004/0.01095, allocations: 27.75 kB / 0.8481 GB, free: 4.398 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004568/0.01141, allocations: 134.9 kB / 0.8483 GB, free: 4.266 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0009771/0.01239, allocations: 397.5 kB / 0.8487 GB, free: 3.875 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.01376, allocations: 0.5804 MB / 0.8492 GB, free: 3.293 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001158/0.01492, allocations: 0.9147 MB / 0.8501 GB, free: 2.379 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004195/0.01534, allocations: 257.1 kB / 0.8504 GB, free: 2.121 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007014/0.01604, allocations: 474.7 kB / 0.8508 GB, free: 1.656 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003373/0.01638, allocations: 247.2 kB / 0.851 GB, free: 1.414 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.678e-05/0.01642, allocations: 24 kB / 0.8511 GB, free: 1.391 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/0.01667, allocations: 107.8 kB / 0.8512 GB, free: 1.285 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0003655/0.01704, allocations: 91.53 kB / 0.8513 GB, free: 1.195 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.01718, allocations: 131.6 kB / 0.8514 GB, free: 1.066 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004803/0.01766, allocations: 354.6 kB / 0.8517 GB, free: 0.7188 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.01767, allocations: 0 / 0.8517 GB, free: 0.7188 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.51e-07/0.01767, allocations: 0 / 0.8517 GB, free: 0.7188 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.01767, allocations: 0 / 0.8517 GB, free: 0.7188 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.0007803/0.01845, allocations: 0.6039 MB / 0.8523 GB, free: 88 kB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.01849, allocations: 12.03 kB / 0.8523 GB, free: 76 kB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.023e-05/0.01857, allocations: 52.83 kB / 0.8524 GB, free: 24 kB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004436/0.01901, allocations: 332.4 kB / 0.8527 GB, free: 15.67 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.01903, allocations: 20.88 kB / 0.8527 GB, free: 15.65 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.01907, allocations: 24.38 kB / 0.8527 GB, free: 15.63 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.01927, allocations: 139 kB / 0.8529 GB, free: 15.48 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.058e-06/0.01928, allocations: 0 / 0.8529 GB, free: 15.48 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.01929, allocations: 4 kB / 0.8529 GB, free: 15.48 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.0193, allocations: 4 kB / 0.8529 GB, free: 15.48 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.204e-05/0.01938, allocations: 51.45 kB / 0.8529 GB, free: 15.43 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008144/0.0202, allocations: 469.1 kB / 0.8534 GB, free: 14.95 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.02046, allocations: 121.3 kB / 0.8535 GB, free: 14.82 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.545e-05/0.0205, allocations: 27.62 kB / 0.8535 GB, free: 14.79 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-05/0.02057, allocations: 19.97 kB / 0.8535 GB, free: 14.77 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.0206, allocations: 34.56 kB / 0.8536 GB, free: 14.73 MB / 0.823 GB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/0.0206, allocations: 0 / 0.8536 GB, free: 14.73 MB / 0.823 GB Notification: Performance of matching and sorting (n=12): time 0.000188/0.02079, allocations: 93.52 kB / 0.8537 GB, free: 14.63 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.02082, allocations: 55.41 kB / 0.8537 GB, free: 14.56 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.02108, allocations: 335.3 kB / 0.854 GB, free: 14.22 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.0211, allocations: 37.7 kB / 0.8541 GB, free: 14.18 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.709e-05/0.02119, allocations: 185.5 kB / 0.8542 GB, free: 13.99 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.02122, allocations: 39.64 kB / 0.8543 GB, free: 13.95 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.945e-05/0.02129, allocations: 53.67 kB / 0.8543 GB, free: 13.89 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.0214, allocations: 350.7 kB / 0.8547 GB, free: 13.54 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.019e-05/0.02144, allocations: 22.75 kB / 0.8547 GB, free: 13.52 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.02157, allocations: 226.8 kB / 0.8549 GB, free: 13.25 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.02168, allocations: 91.72 kB / 0.855 GB, free: 13.14 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.02168, allocations: 0 / 0.855 GB, free: 13.14 MB / 0.823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00019/0.02187, allocations: 127.2 kB / 0.8551 GB, free: 13.01 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.02188, allocations: 6.188 kB / 0.8551 GB, free: 13 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.02189, allocations: 4 kB / 0.8551 GB, free: 13 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.0219, allocations: 7.938 kB / 0.8551 GB, free: 12.99 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.02205, allocations: 43.91 kB / 0.8552 GB, free: 12.95 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.02206, allocations: 4 kB / 0.8552 GB, free: 12.95 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.02219, allocations: 27.78 kB / 0.8552 GB, free: 12.92 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.02221, allocations: 8 kB / 0.8552 GB, free: 12.91 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 9.373e-05/0.02231, allocations: 124.6 kB / 0.8553 GB, free: 12.78 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.02235, allocations: 23.98 kB / 0.8554 GB, free: 12.75 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/0.02254, allocations: 124.2 kB / 0.8555 GB, free: 12.63 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.02255, allocations: 3.938 kB / 0.8555 GB, free: 12.62 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.02255, allocations: 4.062 kB / 0.8555 GB, free: 12.62 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.02255, allocations: 4 kB / 0.8555 GB, free: 12.62 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000468/0.02302, allocations: 484.8 kB / 0.8559 GB, free: 12.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.02303, allocations: 0 / 0.8559 GB, free: 12.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.858e-05/0.0231, allocations: 31.86 kB / 0.856 GB, free: 12.07 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.02311, allocations: 0 / 0.856 GB, free: 12.07 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.02312, allocations: 12.12 kB / 0.856 GB, free: 12.06 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.02312, allocations: 0 / 0.856 GB, free: 12.06 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.02312, allocations: 4 kB / 0.856 GB, free: 12.05 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.02331, allocations: 268.9 kB / 0.8562 GB, free: 11.76 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-05/0.02338, allocations: 47.67 kB / 0.8563 GB, free: 11.71 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.02341, allocations: 0 / 0.8563 GB, free: 11.71 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.02353, allocations: 11.98 kB / 0.8563 GB, free: 11.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.138e-05/0.02355, allocations: 7.984 kB / 0.8563 GB, free: 11.69 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.02356, allocations: 4 kB / 0.8563 GB, free: 11.69 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001321/0.0237, allocations: 144.7 kB / 0.8565 GB, free: 11.55 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.0237, allocations: 0 / 0.8565 GB, free: 11.55 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000347/0.02404, allocations: 99.77 kB / 0.8565 GB, free: 11.45 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.000215/0.02426, allocations: 120.2 kB / 0.8567 GB, free: 11.32 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001569/0.02442, allocations: 92.56 kB / 0.8568 GB, free: 11.23 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.02442, allocations: 4 kB / 0.8568 GB, free: 11.23 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.26e-05/0.02447, allocations: 44.77 kB / 0.8568 GB, free: 11.18 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005141/0.02499, allocations: 144.5 kB / 0.8569 GB, free: 11.04 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.0262, allocations: 0.6397 MB / 0.8576 GB, free: 10.36 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.269e-05/0.02627, allocations: 108.6 kB / 0.8577 GB, free: 10.23 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00015/0.02642, allocations: 42.27 kB / 0.8577 GB, free: 10.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.02667, allocations: 159.2 kB / 0.8579 GB, free: 10.04 MB / 0.823 GB Notification: Performance of SimCode: time 6.92e-07/0.02667, allocations: 0 / 0.8579 GB, free: 10.04 MB / 0.823 GB Notification: Performance of Templates: time 0.01041/0.03708, allocations: 6.349 MB / 0.8641 GB, free: 3.871 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 -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.166833596304059]