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.0008706/0.0008706, allocations: 83.73 kB / 20.89 MB, free: 3.387 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.003056/0.003056, allocations: 157.6 kB / 24.31 MB, free: 9.094 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.8651/0.8651, allocations: 177.2 MB / 204.8 MB, free: 5.375 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.199/2.199, allocations: 439.8 MB / 0.6846 GB, free: 12.53 MB / 0.6511 GB " [Timeout remaining time 178] 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.653e-06/1.653e-06, allocations: 0 / 0.8411 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.461e-05, allocations: 2.312 kB / 0.8411 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses): time 0.00274/0.002764, allocations: 1.513 MB / 0.8426 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004169/0.006933, allocations: 3.079 MB / 0.8456 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.006973, allocations: 0 / 0.8456 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.661e-05/0.007019, allocations: 11.91 kB / 0.8456 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.00713, allocations: 19.84 kB / 0.8456 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.008795, allocations: 0.7894 MB / 0.8464 GB, free: 7.133 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003864/0.009182, allocations: 383.4 kB / 0.8467 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.643e-05/0.009228, allocations: 20.14 kB / 0.8467 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.009439, allocations: 167.9 kB / 0.8469 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.009669, allocations: 171.7 kB / 0.8471 GB, free: 6.406 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.837e-05/0.009717, allocations: 20 kB / 0.8471 GB, free: 6.387 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002281/0.012, allocations: 1.63 MB / 0.8487 GB, free: 4.754 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.01213, allocations: 119.8 kB / 0.8488 GB, free: 4.637 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.01224, allocations: 99.8 kB / 0.8489 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.01357, allocations: 1.141 MB / 0.85 GB, free: 3.395 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.01358, allocations: 0 / 0.85 GB, free: 3.395 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.41e-07/0.01358, allocations: 0 / 0.85 GB, free: 3.395 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.01358, allocations: 0 / 0.85 GB, free: 3.395 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008326/0.01442, allocations: 0.6066 MB / 0.8506 GB, free: 2.762 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.01445, allocations: 8.031 kB / 0.8506 GB, free: 2.754 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.077e-05/0.01453, allocations: 24.92 kB / 0.8506 GB, free: 2.73 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.01465, allocations: 137.1 kB / 0.8508 GB, free: 2.57 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.01466, allocations: 12 kB / 0.8508 GB, free: 2.559 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.01471, allocations: 19.98 kB / 0.8508 GB, free: 2.539 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003871/0.0151, allocations: 460.5 kB / 0.8512 GB, free: 2.004 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.01511, allocations: 0 / 0.8512 GB, free: 2.004 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.01514, allocations: 4 kB / 0.8512 GB, free: 2 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.01515, allocations: 7.938 kB / 0.8512 GB, free: 1.992 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.01547, allocations: 117.3 kB / 0.8514 GB, free: 1.875 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002465/0.01571, allocations: 146.1 kB / 0.8515 GB, free: 1.711 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.01599, allocations: 156.4 kB / 0.8516 GB, free: 1.535 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.01609, allocations: 37.7 kB / 0.8517 GB, free: 1.492 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.01612, allocations: 19.92 kB / 0.8517 GB, free: 1.473 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.01615, allocations: 38.56 kB / 0.8517 GB, free: 1.426 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.01615, allocations: 0 / 0.8517 GB, free: 1.426 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22): time 0.0004281/0.01658, allocations: 142.1 kB / 0.8519 GB, free: 1.281 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.01661, allocations: 81.11 kB / 0.8519 GB, free: 1.184 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.01676, allocations: 219 kB / 0.8522 GB, free: 0.957 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.0168, allocations: 29.7 kB / 0.8522 GB, free: 0.9219 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.01684, allocations: 105 kB / 0.8523 GB, free: 0.8164 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.288e-05/0.01691, allocations: 83.27 kB / 0.8524 GB, free: 0.7344 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.01705, allocations: 81.59 kB / 0.8524 GB, free: 0.6484 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.071e-05/0.01714, allocations: 330.7 kB / 0.8528 GB, free: 324 kB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.01729, allocations: 95.3 kB / 0.8528 GB, free: 228 kB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.01743, allocations: 78.48 kB / 0.8529 GB, free: 152 kB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/0.0178, allocations: 250.3 kB / 0.8532 GB, free: 15.89 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.0178, allocations: 0 / 0.8532 GB, free: 15.89 MB / 0.823 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005004/0.0183, allocations: 276.4 kB / 0.8534 GB, free: 15.62 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.01832, allocations: 4 kB / 0.8534 GB, free: 15.61 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.01834, allocations: 4 kB / 0.8534 GB, free: 15.61 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.01835, allocations: 4 kB / 0.8534 GB, free: 15.61 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.01862, allocations: 59.94 kB / 0.8535 GB, free: 15.55 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.01863, allocations: 11.88 kB / 0.8535 GB, free: 15.54 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.31e-05/0.01872, allocations: 35.62 kB / 0.8535 GB, free: 15.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.01875, allocations: 7.984 kB / 0.8535 GB, free: 15.49 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 0.0001133/0.01886, allocations: 124.7 kB / 0.8537 GB, free: 15.36 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.749e-05/0.01892, allocations: 15.98 kB / 0.8537 GB, free: 15.34 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006137/0.01954, allocations: 288.8 kB / 0.854 GB, free: 15.06 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.01954, allocations: 0 / 0.854 GB, free: 15.06 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.01954, allocations: 7.938 kB / 0.854 GB, free: 15.05 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.01957, allocations: 31.78 kB / 0.854 GB, free: 15.02 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.01961, allocations: 4 kB / 0.854 GB, free: 15.02 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.01975, allocations: 19.98 kB / 0.854 GB, free: 15 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/0.01981, allocations: 23.95 kB / 0.854 GB, free: 14.97 MB / 0.823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003764/0.02019, allocations: 405.9 kB / 0.8544 GB, free: 14.57 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004088/0.0206, allocations: 0.4923 MB / 0.8549 GB, free: 14.06 MB / 0.823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001311/0.02073, allocations: 75.03 kB / 0.855 GB, free: 13.98 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.543e-05/0.02079, allocations: 54.2 kB / 0.855 GB, free: 13.93 MB / 0.823 GB Notification: Performance of Backend: time 3.41e-07/0.02079, allocations: 4 kB / 0.855 GB, free: 13.93 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001263/0.02205, allocations: 0.6824 MB / 0.8557 GB, free: 13.21 MB / 0.823 GB Notification: Performance of SimCode: time 0.0008044/0.02285, allocations: 0.9056 MB / 0.8566 GB, free: 12.25 MB / 0.823 GB Notification: Performance of Templates: time 0.01011/0.03296, allocations: 11.49 MB / 0.8678 GB, free: 0.8281 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: 4.864021349698305]