Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009977/0.0009977, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001377/0.001377, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.038/1.038, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.438/2.438, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.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_latest_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_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.766e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002732/0.00275, allocations: 2.207 MB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002308/0.005058, allocations: 1.876 MB / 0.8426 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.005166, allocations: 4 kB / 0.8426 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005548/0.005721, allocations: 202.7 kB / 0.8428 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.005828, allocations: 75.28 kB / 0.8429 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006978/0.006526, allocations: 414.8 kB / 0.8433 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004006/0.006926, allocations: 422.5 kB / 0.8437 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.007029, allocations: 18.56 kB / 0.8437 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.007233, allocations: 211.6 kB / 0.8439 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.0074, allocations: 131.7 kB / 0.844 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.268e-05/0.007443, allocations: 24 kB / 0.844 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003664/0.007809, allocations: 279.5 kB / 0.8443 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.007921, allocations: 115.6 kB / 0.8444 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.008021, allocations: 115.7 kB / 0.8445 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000438/0.008459, allocations: 450.7 kB / 0.845 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.008461, allocations: 0 / 0.845 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.21e-07/0.008462, allocations: 0 / 0.845 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.008466, allocations: 0 / 0.845 GB, free: 7.598 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006536/0.00912, allocations: 0.5819 MB / 0.8455 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.009153, allocations: 8.625 kB / 0.8455 GB, free: 6.977 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008381/0.009991, allocations: 168.6 kB / 0.8457 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.01025, allocations: 248 kB / 0.8459 GB, free: 6.543 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.634e-05/0.01033, allocations: 123.4 kB / 0.8461 GB, free: 6.398 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.01036, allocations: 12.38 kB / 0.8461 GB, free: 6.387 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.01068, allocations: 193.4 kB / 0.8463 GB, free: 6.188 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.01068, allocations: 192 / 0.8463 GB, free: 6.188 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.0107, allocations: 4.125 kB / 0.8463 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.01071, allocations: 4 kB / 0.8463 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.01084, allocations: 66.14 kB / 0.8463 GB, free: 6.117 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006764/0.01152, allocations: 413.6 kB / 0.8467 GB, free: 5.695 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.01282, allocations: 439.7 kB / 0.8471 GB, free: 5.254 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.031e-05/0.0129, allocations: 44.84 kB / 0.8472 GB, free: 5.207 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.01291, allocations: 0 / 0.8472 GB, free: 5.207 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/0.01312, allocations: 157 kB / 0.8473 GB, free: 5.043 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.01312, allocations: 0 / 0.8473 GB, free: 5.043 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0002903/0.01341, allocations: 161.5 kB / 0.8475 GB, free: 4.879 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.01345, allocations: 55.41 kB / 0.8475 GB, free: 4.812 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.01364, allocations: 311.3 kB / 0.8478 GB, free: 4.496 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.01368, allocations: 37.69 kB / 0.8479 GB, free: 4.453 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.01373, allocations: 121 kB / 0.848 GB, free: 4.332 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.01377, allocations: 55.52 kB / 0.848 GB, free: 4.277 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.079e-05/0.01385, allocations: 49.66 kB / 0.8481 GB, free: 4.223 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.861e-05/0.01394, allocations: 350.7 kB / 0.8484 GB, free: 3.871 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.01407, allocations: 104.5 kB / 0.8485 GB, free: 3.762 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.01421, allocations: 97.64 kB / 0.8486 GB, free: 3.66 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.01438, allocations: 158.5 kB / 0.8488 GB, free: 3.496 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01438, allocations: 0 / 0.8488 GB, free: 3.496 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002766/0.01466, allocations: 272.8 kB / 0.849 GB, free: 3.211 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.01469, allocations: 41.69 kB / 0.8491 GB, free: 3.164 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.01469, allocations: 0 / 0.8491 GB, free: 3.164 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.01471, allocations: 3.984 kB / 0.8491 GB, free: 3.16 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.0149, allocations: 59.86 kB / 0.8491 GB, free: 3.102 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.01491, allocations: 0 / 0.8491 GB, free: 3.102 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.01503, allocations: 23.98 kB / 0.8491 GB, free: 3.078 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.01506, allocations: 11.98 kB / 0.8492 GB, free: 3.066 MB / 0.8073 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 0.000105/0.01516, allocations: 126.7 kB / 0.8493 GB, free: 2.934 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.0152, allocations: 27.91 kB / 0.8493 GB, free: 2.906 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.01524, allocations: 39.41 kB / 0.8493 GB, free: 2.871 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.01524, allocations: 0 / 0.8493 GB, free: 2.871 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.01525, allocations: 0 / 0.8493 GB, free: 2.871 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.01525, allocations: 0 / 0.8493 GB, free: 2.871 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.01544, allocations: 205.6 kB / 0.8495 GB, free: 2.652 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.01544, allocations: 3.984 kB / 0.8495 GB, free: 2.648 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.01561, allocations: 51.94 kB / 0.8496 GB, free: 2.598 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-06/0.01561, allocations: 0 / 0.8496 GB, free: 2.598 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.01563, allocations: 15.91 kB / 0.8496 GB, free: 2.582 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.01563, allocations: 3.938 kB / 0.8496 GB, free: 2.578 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01563, allocations: 0 / 0.8496 GB, free: 2.578 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.01585, allocations: 162.7 kB / 0.8498 GB, free: 2.398 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.192e-05/0.01594, allocations: 59.66 kB / 0.8498 GB, free: 2.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.01598, allocations: 11.94 kB / 0.8498 GB, free: 2.328 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.01611, allocations: 27.97 kB / 0.8499 GB, free: 2.301 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.01616, allocations: 19.97 kB / 0.8499 GB, free: 2.281 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.01618, allocations: 3.984 kB / 0.8499 GB, free: 2.277 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.65e-05/0.01628, allocations: 132.7 kB / 0.85 GB, free: 2.145 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01628, allocations: 4 kB / 0.85 GB, free: 2.141 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001985/0.01647, allocations: 79.94 kB / 0.8501 GB, free: 2.062 MB / 0.8073 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.0001467/0.01662, allocations: 108.3 kB / 0.8502 GB, free: 1.949 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003946/0.01702, allocations: 243.4 kB / 0.8504 GB, free: 1.695 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.01702, allocations: 4 kB / 0.8504 GB, free: 1.691 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.867e-05/0.01712, allocations: 68.75 kB / 0.8505 GB, free: 1.621 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.01735, allocations: 93.41 kB / 0.8506 GB, free: 1.531 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008974/0.01825, allocations: 0.5417 MB / 0.8511 GB, free: 0.957 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.585e-05/0.01831, allocations: 120.2 kB / 0.8512 GB, free: 0.8203 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001897/0.0185, allocations: 62.3 kB / 0.8513 GB, free: 0.7539 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/0.01875, allocations: 137.2 kB / 0.8514 GB, free: 0.6172 MB / 0.8073 GB Notification: Performance of SimCode: time 6.41e-07/0.01875, allocations: 0 / 0.8514 GB, free: 0.6172 MB / 0.8073 GB Notification: Performance of Templates: time 0.009118/0.02787, allocations: 8.287 MB / 0.8595 GB, free: 8.48 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.482243245001882]