Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.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.0007877/0.0007877, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007337/0.0007337, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8426/0.8426, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001444/0.001444, allocations: 229.3 kB / 260.2 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6307/0.6307, allocations: 138.4 MB / 455.1 MB, free: 29.96 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality") translateModel(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.6475 GB, free: 1.441 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.524e-05/1.648e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.438 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.243/0.243, allocations: 1.542 MB / 0.649 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0006333/0.2436, allocations: 483.9 kB / 0.6494 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.075e-05/0.2437, allocations: 1.188 kB / 0.6494 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.376e-05/0.2437, allocations: 9.375 kB / 0.6495 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.811e-05/0.2437, allocations: 3.719 kB / 0.6495 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.2439, allocations: 40.16 kB / 0.6495 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 9.226e-05/0.244, allocations: 43.22 kB / 0.6495 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.903e-05/0.2441, allocations: 15.02 kB / 0.6496 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.2443, allocations: 43.16 kB / 0.6496 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.839e-05/0.2443, allocations: 17.81 kB / 0.6496 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.2443, allocations: 4.344 kB / 0.6496 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 3.514e-05/0.2443, allocations: 10.95 kB / 0.6496 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.301e-05/0.2443, allocations: 13.31 kB / 0.6496 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.2444, allocations: 10.73 kB / 0.6497 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.2445, allocations: 52.14 kB / 0.6497 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2445, allocations: 0.875 kB / 0.6497 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2445, allocations: 0 / 0.6497 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.2445, allocations: 0.6094 kB / 0.6497 GB, free: 56.3 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003252/0.2448, allocations: 290.2 kB / 0.65 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.2448, allocations: 11.59 kB / 0.65 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.947e-05/0.2449, allocations: 12.53 kB / 0.65 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.2451, allocations: 127.9 kB / 0.6501 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.2451, allocations: 2.875 kB / 0.6501 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.2451, allocations: 3.984 kB / 0.6501 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.2452, allocations: 63.08 kB / 0.6502 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2452, allocations: 2.625 kB / 0.6502 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.2453, allocations: 0.9375 kB / 0.6502 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2453, allocations: 4.719 kB / 0.6502 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.896e-05/0.2454, allocations: 41.94 kB / 0.6502 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002355/0.2456, allocations: 234.8 kB / 0.6505 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.2458, allocations: 63.89 kB / 0.6505 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.892e-05/0.2458, allocations: 25.08 kB / 0.6505 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.2458, allocations: 3.906 kB / 0.6506 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.059e-05/0.2458, allocations: 33.7 kB / 0.6506 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.2458, allocations: 0 / 0.6506 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0002085/0.2461, allocations: 90.69 kB / 0.6507 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.772e-05/0.2461, allocations: 56.16 kB / 0.6507 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.425e-05/0.2461, allocations: 117.3 kB / 0.6508 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.881e-06/0.2461, allocations: 27.2 kB / 0.6509 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.109e-05/0.2461, allocations: 87.94 kB / 0.6509 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.2462, allocations: 10.56 kB / 0.651 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.2462, allocations: 18.67 kB / 0.651 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.405e-05/0.2462, allocations: 321.7 kB / 0.6513 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.396e-05/0.2463, allocations: 11.88 kB / 0.6513 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.948e-05/0.2463, allocations: 19.34 kB / 0.6513 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.202e-05/0.2464, allocations: 42.7 kB / 0.6514 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2464, allocations: 3.938 kB / 0.6514 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001005/0.2465, allocations: 71.81 kB / 0.6514 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.2465, allocations: 7.031 kB / 0.6514 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.2465, allocations: 0 / 0.6514 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.2465, allocations: 1.422 kB / 0.6514 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.731e-05/0.2465, allocations: 13.42 kB / 0.6514 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.2465, allocations: 0.75 kB / 0.6514 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.433e-05/0.2466, allocations: 8.922 kB / 0.6515 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.2466, allocations: 1.719 kB / 0.6515 GB, free: 54.88 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 3.427e-05/0.2466, allocations: 117.5 kB / 0.6516 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.2466, allocations: 6.25 kB / 0.6516 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.262e-05/0.2466, allocations: 7.266 kB / 0.6516 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.2466, allocations: 0.75 kB / 0.6516 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2467, allocations: 0.8125 kB / 0.6516 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.2467, allocations: 1.812 kB / 0.6516 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7e-05/0.2467, allocations: 120.2 kB / 0.6517 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2467, allocations: 5.391 kB / 0.6517 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.737e-05/0.2468, allocations: 9.016 kB / 0.6517 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2468, allocations: 1.375 kB / 0.6517 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.2468, allocations: 3.25 kB / 0.6517 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.2468, allocations: 2.531 kB / 0.6517 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2468, allocations: 3.5 kB / 0.6517 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.2469, allocations: 165.1 kB / 0.6519 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-06/0.2469, allocations: 10.41 kB / 0.6519 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-06/0.2469, allocations: 4.812 kB / 0.6519 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.783e-05/0.2469, allocations: 8.328 kB / 0.6519 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.247, allocations: 2.781 kB / 0.6519 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.247, allocations: 2.062 kB / 0.6519 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.086e-05/0.247, allocations: 93.56 kB / 0.652 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.247, allocations: 1.219 kB / 0.652 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001448/0.2471, allocations: 7.125 kB / 0.652 GB, free: 54.41 MB / 0.5573 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 (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 5.834e-05/0.2472, allocations: 95.33 kB / 0.6521 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.2473, allocations: 42.22 kB / 0.6521 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2473, allocations: 1.656 kB / 0.6521 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.329e-05/0.2473, allocations: 21.25 kB / 0.6522 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.2475, allocations: 8.703 kB / 0.6522 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002382/0.2477, allocations: 172.7 kB / 0.6523 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.64e-05/0.2478, allocations: 71.16 kB / 0.6524 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.2478, allocations: 11.84 kB / 0.6524 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of SimCode: time 4e-07/0.2478, allocations: 0 / 0.6524 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.001412/0.2492, allocations: 0.7381 MB / 0.6531 GB, free: 54.08 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.sim & ./BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.840309550985694] Failed to read output from testmodel.py, exit status != 0: 0.2538246652111411 0.261256254 0.015225243000000001 Calling exit ...