Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses.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.0009035/0.0009035, allocations: 79.75 kB / 20.08 MB, free: 4.172 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.0009657/0.0009657, allocations: 156.9 kB / 23.51 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.9071/0.9071, allocations: 177.2 MB / 204 MB, free: 5.367 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.285/2.285, allocations: 439.8 MB / 0.6839 GB, free: 12.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 15.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.Fluid.BaseClasses.FlowModels.Validation.ExactInverses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flowBas|m_flowPow.[0-9,]+.|dpBas|dpPow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flowBas|m_flowPow.[0-9,]+.|dpBas|dpPow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.8403 GB, free: 12.59 MB / 0.8074 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/1.971e-05, allocations: 2.312 kB / 0.8403 GB, free: 12.59 MB / 0.8074 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses): time 0.002544/0.002563, allocations: 1.51 MB / 0.8418 GB, free: 11.07 MB / 0.8074 GB Notification: Performance of NFInst.instExpressions: time 0.004915/0.007478, allocations: 3.087 MB / 0.8448 GB, free: 7.969 MB / 0.8074 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.217e-05/0.00752, allocations: 0 / 0.8448 GB, free: 7.969 MB / 0.8074 GB Notification: Performance of NFTyping.typeComponents: time 6.352e-05/0.007584, allocations: 11.92 kB / 0.8448 GB, free: 7.957 MB / 0.8074 GB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.00771, allocations: 15.84 kB / 0.8448 GB, free: 7.941 MB / 0.8074 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.009702, allocations: 0.7816 MB / 0.8456 GB, free: 7.156 MB / 0.8074 GB Notification: Performance of NFFlatten.flatten: time 0.0003891/0.01009, allocations: 395.4 kB / 0.846 GB, free: 6.77 MB / 0.8074 GB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.01013, allocations: 12.16 kB / 0.846 GB, free: 6.758 MB / 0.8074 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.01036, allocations: 171.8 kB / 0.8461 GB, free: 6.59 MB / 0.8074 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.0106, allocations: 171.7 kB / 0.8463 GB, free: 6.422 MB / 0.8074 GB Notification: Performance of NFPackage.collectConstants: time 5.321e-05/0.01066, allocations: 20 kB / 0.8463 GB, free: 6.402 MB / 0.8074 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0026/0.01326, allocations: 1.634 MB / 0.8479 GB, free: 4.766 MB / 0.8074 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.01337, allocations: 119.8 kB / 0.848 GB, free: 4.648 MB / 0.8074 GB Notification: Performance of NFVerifyModel.verify: time 7.773e-05/0.01345, allocations: 95.8 kB / 0.8481 GB, free: 4.555 MB / 0.8074 GB Notification: Performance of NFConvertDAE.convert: time 0.0009505/0.0144, allocations: 1.141 MB / 0.8492 GB, free: 3.41 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.0144, allocations: 0 / 0.8492 GB, free: 3.41 MB / 0.8074 GB Notification: Performance of FrontEnd: time 5.71e-07/0.0144, allocations: 0 / 0.8492 GB, free: 3.41 MB / 0.8074 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.0144, allocations: 0 / 0.8492 GB, free: 3.41 MB / 0.8074 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000606/0.01501, allocations: 0.6105 MB / 0.8498 GB, free: 2.773 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 2.609e-05/0.01503, allocations: 8.031 kB / 0.8498 GB, free: 2.766 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/0.01508, allocations: 16.92 kB / 0.8498 GB, free: 2.75 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.669e-05/0.01517, allocations: 145.1 kB / 0.85 GB, free: 2.582 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.01518, allocations: 4 kB / 0.85 GB, free: 2.578 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.01521, allocations: 16 kB / 0.85 GB, free: 2.562 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.01549, allocations: 460.3 kB / 0.8504 GB, free: 2.027 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.01551, allocations: 0 / 0.8504 GB, free: 2.027 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.01553, allocations: 8 kB / 0.8505 GB, free: 2.02 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.01553, allocations: 3.938 kB / 0.8505 GB, free: 2.016 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.01573, allocations: 121.4 kB / 0.8506 GB, free: 1.895 MB / 0.8074 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.0159, allocations: 146.1 kB / 0.8507 GB, free: 1.73 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.01608, allocations: 148.5 kB / 0.8509 GB, free: 1.562 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.848e-05/0.01615, allocations: 45.69 kB / 0.8509 GB, free: 1.512 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.01617, allocations: 15.94 kB / 0.8509 GB, free: 1.496 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.01619, allocations: 38.56 kB / 0.8509 GB, free: 1.449 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=22): time 1.041e-06/0.01619, allocations: 0 / 0.8509 GB, free: 1.449 MB / 0.8074 GB Notification: Performance of matching and sorting (n=22): time 0.0002947/0.01649, allocations: 146.2 kB / 0.8511 GB, free: 1.301 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.01652, allocations: 81.11 kB / 0.8512 GB, free: 1.203 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.01663, allocations: 215 kB / 0.8514 GB, free: 0.9805 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.01665, allocations: 37.7 kB / 0.8514 GB, free: 0.9375 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.01669, allocations: 109 kB / 0.8515 GB, free: 0.8281 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 4.699e-05/0.01673, allocations: 75.27 kB / 0.8516 GB, free: 0.7539 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.382e-05/0.01682, allocations: 85.59 kB / 0.8517 GB, free: 0.6641 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 7.385e-05/0.01689, allocations: 338.7 kB / 0.852 GB, free: 332 kB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.18e-05/0.01698, allocations: 87.31 kB / 0.8521 GB, free: 244 kB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.369e-05/0.01707, allocations: 78.48 kB / 0.8521 GB, free: 168 kB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.0173, allocations: 242.3 kB / 0.8524 GB, free: 15.92 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.01731, allocations: 7.938 kB / 0.8524 GB, free: 15.91 MB / 0.823 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002699/0.01758, allocations: 264.6 kB / 0.8526 GB, free: 15.64 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.01759, allocations: 8 kB / 0.8526 GB, free: 15.64 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/0.0176, allocations: 15.98 kB / 0.8527 GB, free: 15.62 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.01761, allocations: 0 / 0.8527 GB, free: 15.62 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.01779, allocations: 63.89 kB / 0.8527 GB, free: 15.56 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.01779, allocations: 3.938 kB / 0.8527 GB, free: 15.55 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.356e-05/0.01784, allocations: 35.62 kB / 0.8528 GB, free: 15.52 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.01786, allocations: 11.98 kB / 0.8528 GB, free: 15.51 MB / 0.823 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.102e-05/0.01795, allocations: 120.7 kB / 0.8529 GB, free: 15.38 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.01798, allocations: 15.98 kB / 0.8529 GB, free: 15.36 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004074/0.01838, allocations: 292.6 kB / 0.8532 GB, free: 15.07 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.01839, allocations: 7.938 kB / 0.8532 GB, free: 15.07 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.01839, allocations: 7.938 kB / 0.8532 GB, free: 15.06 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01839, allocations: 3.984 kB / 0.8532 GB, free: 15.05 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.01855, allocations: 157.7 kB / 0.8533 GB, free: 14.88 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01855, allocations: 4 kB / 0.8534 GB, free: 14.88 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.01871, allocations: 75.89 kB / 0.8534 GB, free: 14.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.01871, allocations: 0 / 0.8534 GB, free: 14.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.01872, allocations: 8 kB / 0.8534 GB, free: 14.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01873, allocations: 0 / 0.8534 GB, free: 14.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01873, allocations: 0 / 0.8534 GB, free: 14.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.01894, allocations: 207 kB / 0.8536 GB, free: 14.57 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.828e-05/0.01896, allocations: 39.73 kB / 0.8537 GB, free: 14.53 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.01898, allocations: 4 kB / 0.8537 GB, free: 14.53 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.864e-05/0.01907, allocations: 23.92 kB / 0.8537 GB, free: 14.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.01911, allocations: 19.95 kB / 0.8537 GB, free: 14.48 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.01913, allocations: 16 kB / 0.8537 GB, free: 14.47 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.77e-05/0.01918, allocations: 58.17 kB / 0.8538 GB, free: 14.41 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.01918, allocations: 0 / 0.8538 GB, free: 14.41 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002874/0.01947, allocations: 203.4 kB / 0.854 GB, free: 14.21 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (34): * Single equations (assignments): 34 * 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 0.0004117/0.01988, allocations: 243.7 kB / 0.8542 GB, free: 13.96 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002885/0.02017, allocations: 317.3 kB / 0.8545 GB, free: 13.62 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.02017, allocations: 0 / 0.8545 GB, free: 13.62 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.638e-05/0.02027, allocations: 91.02 kB / 0.8546 GB, free: 13.54 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.02042, allocations: 43.91 kB / 0.8546 GB, free: 13.49 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004616/0.02088, allocations: 407.3 kB / 0.855 GB, free: 13.06 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.913e-05/0.02093, allocations: 113.6 kB / 0.8551 GB, free: 12.93 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001151/0.02105, allocations: 73.44 kB / 0.8552 GB, free: 12.86 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.02129, allocations: 135.3 kB / 0.8553 GB, free: 12.73 MB / 0.823 GB Notification: Performance of SimCode: time 7.82e-07/0.02129, allocations: 0 / 0.8553 GB, free: 12.73 MB / 0.823 GB Notification: Performance of Templates: time 0.008031/0.02933, allocations: 7.454 MB / 0.8626 GB, free: 5.328 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_ExactInverses.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.07342520263046]