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.0009568/0.0009568, allocations: 83.67 kB / 20.98 MB, free: 3.32 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.003667/0.003667, allocations: 155.3 kB / 24.44 MB, free: 9.23 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.942/0.942, allocations: 177.2 MB / 204.9 MB, free: 5.434 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.327/2.327, allocations: 439.8 MB / 0.6849 GB, free: 12.57 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.643e-06/1.643e-06, allocations: 0 / 0.8412 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.278e-05, allocations: 6.312 kB / 0.8412 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses): time 0.00372/0.003743, allocations: 1.521 MB / 0.8427 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01023/0.01398, allocations: 3.079 MB / 0.8457 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.01404, allocations: 0 / 0.8457 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 5.377e-05/0.01409, allocations: 11.92 kB / 0.8457 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.01421, allocations: 19.84 kB / 0.8458 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.01647, allocations: 0.7932 MB / 0.8465 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.003415/0.01989, allocations: 387.5 kB / 0.8469 GB, free: 6.836 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.69e-05/0.01993, allocations: 4.172 kB / 0.8469 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.02017, allocations: 171.8 kB / 0.8471 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.02041, allocations: 183.7 kB / 0.8472 GB, free: 6.484 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.434e-05/0.02047, allocations: 23.94 kB / 0.8473 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005563/0.02603, allocations: 1.618 MB / 0.8489 GB, free: 4.84 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.02616, allocations: 119.8 kB / 0.849 GB, free: 4.723 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.02628, allocations: 99.78 kB / 0.8491 GB, free: 4.625 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001679/0.02796, allocations: 1.145 MB / 0.8502 GB, free: 3.477 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.02797, allocations: 0 / 0.8502 GB, free: 3.477 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.462e-06/0.02797, allocations: 0 / 0.8502 GB, free: 3.477 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.02797, allocations: 0 / 0.8502 GB, free: 3.477 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.003931/0.0319, allocations: 0.6066 MB / 0.8508 GB, free: 2.844 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.03194, allocations: 8.031 kB / 0.8508 GB, free: 2.836 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.893e-05/0.03202, allocations: 20.92 kB / 0.8508 GB, free: 2.816 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.03213, allocations: 133.2 kB / 0.8509 GB, free: 2.66 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.03214, allocations: 8 kB / 0.8509 GB, free: 2.652 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.03219, allocations: 16 kB / 0.8509 GB, free: 2.637 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.03258, allocations: 464.3 kB / 0.8514 GB, free: 2.098 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.03259, allocations: 0 / 0.8514 GB, free: 2.098 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.03262, allocations: 4 kB / 0.8514 GB, free: 2.094 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.03263, allocations: 7.938 kB / 0.8514 GB, free: 2.086 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.03293, allocations: 117.5 kB / 0.8515 GB, free: 1.969 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000246/0.03318, allocations: 154.1 kB / 0.8517 GB, free: 1.797 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.03344, allocations: 148.3 kB / 0.8518 GB, free: 1.629 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.71e-05/0.03354, allocations: 41.7 kB / 0.8518 GB, free: 1.582 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.03357, allocations: 8 kB / 0.8518 GB, free: 1.574 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.0336, allocations: 46.48 kB / 0.8519 GB, free: 1.52 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.0336, allocations: 0 / 0.8519 GB, free: 1.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22): time 0.0004112/0.03401, allocations: 142.9 kB / 0.852 GB, free: 1.375 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.03405, allocations: 81.05 kB / 0.8521 GB, free: 1.277 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.0342, allocations: 223 kB / 0.8523 GB, free: 1.047 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.03424, allocations: 33.7 kB / 0.8524 GB, free: 1.008 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.03429, allocations: 101 kB / 0.8524 GB, free: 0.9062 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.916e-05/0.03436, allocations: 79.31 kB / 0.8525 GB, free: 0.8281 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.03449, allocations: 77.61 kB / 0.8526 GB, free: 0.7461 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.003112/0.0376, allocations: 338.7 kB / 0.8529 GB, free: 416 kB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.03776, allocations: 91.3 kB / 0.853 GB, free: 324 kB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.03787, allocations: 78.48 kB / 0.8531 GB, free: 248 kB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003281/0.0382, allocations: 242.8 kB / 0.8533 GB, free: 16 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.0382, allocations: 4 kB / 0.8533 GB, free: 15.99 MB / 0.823 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003864/0.03859, allocations: 272.5 kB / 0.8536 GB, free: 15.72 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.0386, allocations: 12 kB / 0.8536 GB, free: 15.71 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/0.03862, allocations: 4 kB / 0.8536 GB, free: 15.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.03863, allocations: 0 / 0.8536 GB, free: 15.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.03888, allocations: 59.94 kB / 0.8537 GB, free: 15.64 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.03888, allocations: 3.938 kB / 0.8537 GB, free: 15.64 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.908e-05/0.03896, allocations: 47.5 kB / 0.8537 GB, free: 15.59 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.03899, allocations: 11.97 kB / 0.8537 GB, free: 15.58 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.0001142/0.03911, allocations: 124.6 kB / 0.8538 GB, free: 15.45 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.816e-05/0.03916, allocations: 19.98 kB / 0.8538 GB, free: 15.43 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005457/0.0397, allocations: 292.6 kB / 0.8541 GB, free: 15.14 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.03971, allocations: 7.938 kB / 0.8541 GB, free: 15.13 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.03971, allocations: 0 / 0.8541 GB, free: 15.13 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.03971, allocations: 0 / 0.8541 GB, free: 15.13 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.03993, allocations: 165.6 kB / 0.8543 GB, free: 14.95 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.03993, allocations: 4 kB / 0.8543 GB, free: 14.95 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.04016, allocations: 71.91 kB / 0.8544 GB, free: 14.88 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.04017, allocations: 0 / 0.8544 GB, free: 14.88 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.04019, allocations: 11.98 kB / 0.8544 GB, free: 14.87 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.04019, allocations: 0 / 0.8544 GB, free: 14.87 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.04019, allocations: 4 kB / 0.8544 GB, free: 14.86 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003301/0.04349, allocations: 199 kB / 0.8546 GB, free: 14.64 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.04352, allocations: 31.75 kB / 0.8546 GB, free: 14.61 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.04356, allocations: 4 kB / 0.8546 GB, free: 14.61 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.0437, allocations: 23.92 kB / 0.8546 GB, free: 14.59 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.04375, allocations: 23.95 kB / 0.8547 GB, free: 14.56 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/0.04378, allocations: 15.98 kB / 0.8547 GB, free: 14.55 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.307e-05/0.04384, allocations: 54.19 kB / 0.8547 GB, free: 14.49 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.04384, allocations: 0 / 0.8547 GB, free: 14.49 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004524/0.04429, allocations: 203.5 kB / 0.8549 GB, free: 14.29 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.0003983/0.04469, allocations: 247.7 kB / 0.8551 GB, free: 14.04 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000388/0.04508, allocations: 327.5 kB / 0.8555 GB, free: 13.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/0.04508, allocations: 4 kB / 0.8555 GB, free: 13.69 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.04521, allocations: 84.67 kB / 0.8555 GB, free: 13.61 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.04542, allocations: 39.92 kB / 0.8556 GB, free: 13.57 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000602/0.04603, allocations: 423.2 kB / 0.856 GB, free: 13.12 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.22e-05/0.04609, allocations: 97.7 kB / 0.8561 GB, free: 13.01 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001643/0.04625, allocations: 81.41 kB / 0.8562 GB, free: 12.93 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/0.04756, allocations: 127.3 kB / 0.8563 GB, free: 12.8 MB / 0.823 GB Notification: Performance of SimCode: time 8.31e-07/0.04756, allocations: 0 / 0.8563 GB, free: 12.8 MB / 0.823 GB Notification: Performance of Templates: time 0.0109/0.05846, allocations: 7.457 MB / 0.8636 GB, free: 5.395 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.18717725854367]