Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.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.0009409/0.0009409, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009415/0.0009415, allocations: 165 kB / 24.17 MB, free: 328 kB / 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.9883/0.9883, allocations: 177.1 MB / 204.6 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.019/2.019, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.[0-9,]+.|cooCap.EIR.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.[0-9,]+.|cooCap.EIR.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512e-05/1.646e-05, allocations: 6.172 kB / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002623/0.002639, allocations: 2.221 MB / 0.7622 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002301/0.00494, allocations: 1.875 MB / 0.764 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.148e-05/0.005031, allocations: 4 kB / 0.764 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000462/0.005493, allocations: 215.9 kB / 0.7643 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.677e-05/0.00559, allocations: 61.3 kB / 0.7643 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006083/0.006199, allocations: 410.3 kB / 0.7647 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003402/0.006539, allocations: 417.5 kB / 0.7651 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.822e-05/0.006617, allocations: 26.53 kB / 0.7651 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.006789, allocations: 211.6 kB / 0.7653 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.006932, allocations: 123.7 kB / 0.7654 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.734e-05/0.006969, allocations: 28 kB / 0.7655 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003197/0.007289, allocations: 285.2 kB / 0.7657 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.745e-05/0.007386, allocations: 119.7 kB / 0.7659 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.208e-05/0.007468, allocations: 103.8 kB / 0.766 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003861/0.007854, allocations: 450.7 kB / 0.7664 GB, free: 140 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.684e-06/0.007856, allocations: 0 / 0.7664 GB, free: 140 kB / 0.7136 GB Notification: Performance of FrontEnd: time 4.5e-07/0.007856, allocations: 1.031 kB / 0.7664 GB, free: 140 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.00786, allocations: 0 / 0.7664 GB, free: 140 kB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005608/0.008421, allocations: 0.5831 MB / 0.767 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.745e-05/0.008448, allocations: 9.156 kB / 0.767 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007216/0.00917, allocations: 158 kB / 0.7671 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.009385, allocations: 244.1 kB / 0.7673 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.253e-05/0.009458, allocations: 123.4 kB / 0.7675 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.009488, allocations: 12.38 kB / 0.7675 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.00977, allocations: 178.8 kB / 0.7676 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.009777, allocations: 4.172 kB / 0.7677 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.009797, allocations: 12.72 kB / 0.7677 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.009801, allocations: 1.5 kB / 0.7677 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.009921, allocations: 53.09 kB / 0.7677 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006004/0.01052, allocations: 407.2 kB / 0.7681 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.01182, allocations: 440.2 kB / 0.7685 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.222e-05/0.0119, allocations: 45.88 kB / 0.7686 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.01191, allocations: 4 kB / 0.7686 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.01208, allocations: 151.1 kB / 0.7687 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.01208, allocations: 0.625 kB / 0.7687 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0002637/0.01235, allocations: 157.8 kB / 0.7689 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.01237, allocations: 55.41 kB / 0.7689 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.01256, allocations: 307.4 kB / 0.7692 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.01259, allocations: 34.61 kB / 0.7692 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.01264, allocations: 121 kB / 0.7694 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.01268, allocations: 55.52 kB / 0.7694 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.711e-05/0.01276, allocations: 51.31 kB / 0.7695 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.531e-05/0.01285, allocations: 350.7 kB / 0.7698 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.01296, allocations: 97.83 kB / 0.7699 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.01306, allocations: 105.5 kB / 0.77 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.01323, allocations: 152.3 kB / 0.7701 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.01323, allocations: 0 / 0.7701 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004214/0.01365, allocations: 264.4 kB / 0.7704 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.01368, allocations: 45.69 kB / 0.7704 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.01368, allocations: 0.9375 kB / 0.7704 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.01369, allocations: 0 / 0.7704 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.01386, allocations: 49.67 kB / 0.7705 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-06/0.01386, allocations: 4 kB / 0.7705 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.01397, allocations: 28.72 kB / 0.7705 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.014, allocations: 12.77 kB / 0.7705 GB, free: 11.72 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (onOff.y,cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.445e-05/0.01409, allocations: 127.3 kB / 0.7706 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.01413, allocations: 31.91 kB / 0.7707 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.01417, allocations: 35.39 kB / 0.7707 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.01417, allocations: 5.062 kB / 0.7707 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.22e-07/0.01417, allocations: 0 / 0.7707 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.01417, allocations: 0 / 0.7707 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.01435, allocations: 194.8 kB / 0.7709 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.01435, allocations: 4 kB / 0.7709 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.0145, allocations: 52.81 kB / 0.771 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.0145, allocations: 0.9375 kB / 0.771 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.01452, allocations: 7.922 kB / 0.771 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.01452, allocations: 4.781 kB / 0.771 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.01452, allocations: 0 / 0.771 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.01471, allocations: 154.8 kB / 0.7711 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.437e-05/0.01479, allocations: 60.53 kB / 0.7712 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.01483, allocations: 11.94 kB / 0.7712 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.01495, allocations: 29.28 kB / 0.7712 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.01499, allocations: 16.91 kB / 0.7712 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.01501, allocations: 7.984 kB / 0.7712 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.141e-05/0.0151, allocations: 133.6 kB / 0.7714 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.0151, allocations: 0 / 0.7714 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001909/0.01529, allocations: 79.94 kB / 0.7714 GB, free: 10.74 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1],onOff.y) * Number of discrete states: 2 (cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001398/0.01543, allocations: 128.9 kB / 0.7716 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002635/0.01569, allocations: 236 kB / 0.7718 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.0157, allocations: 4 kB / 0.7718 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.886e-05/0.01578, allocations: 57.72 kB / 0.7718 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.01599, allocations: 97.06 kB / 0.7719 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007969/0.01679, allocations: 0.5461 MB / 0.7725 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.43e-05/0.01685, allocations: 117 kB / 0.7726 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001845/0.01703, allocations: 66.12 kB / 0.7726 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.01727, allocations: 133.2 kB / 0.7728 GB, free: 9.332 MB / 0.7292 GB Notification: Performance of SimCode: time 7.21e-07/0.01727, allocations: 0 / 0.7728 GB, free: 9.332 MB / 0.7292 GB Notification: Performance of Templates: time 0.009361/0.02663, allocations: 8.243 MB / 0.7808 GB, free: 1.297 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & ./Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.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.243440601043403]