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.001149/0.001149, allocations: 80.92 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.001664/0.001664, allocations: 161 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.9785/0.9785, allocations: 177.1 MB / 204.6 MB, free: 5.488 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 1.893/1.893, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] 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.683e-06/1.683e-06, allocations: 0 / 0.76 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.314e-05/1.483e-05, allocations: 2.312 kB / 0.76 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.00235/0.002365, allocations: 2.171 MB / 0.7621 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002082/0.004447, allocations: 1.888 MB / 0.764 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.12e-05/0.004528, allocations: 0 / 0.764 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004593/0.004987, allocations: 207.9 kB / 0.7642 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.886e-05/0.005076, allocations: 69.36 kB / 0.7642 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006358/0.005712, allocations: 423 kB / 0.7646 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003934/0.006105, allocations: 414.6 kB / 0.765 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.419e-05/0.0062, allocations: 23.73 kB / 0.7651 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.006379, allocations: 207.6 kB / 0.7653 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.006521, allocations: 131.7 kB / 0.7654 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/0.00656, allocations: 28.53 kB / 0.7654 GB, free: 1 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002963/0.006857, allocations: 264.3 kB / 0.7657 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.006962, allocations: 119.7 kB / 0.7658 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.007e-05/0.007052, allocations: 113.6 kB / 0.7659 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003741/0.007426, allocations: 450.7 kB / 0.7663 GB, free: 76 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.332e-06/0.007427, allocations: 0 / 0.7663 GB, free: 76 kB / 0.7136 GB Notification: Performance of FrontEnd: time 5.01e-07/0.007428, allocations: 0 / 0.7663 GB, free: 76 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.007431, allocations: 0 / 0.7663 GB, free: 76 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.000587/0.008018, allocations: 0.5812 MB / 0.7669 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.706e-05/0.008046, allocations: 8.031 kB / 0.7669 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006457/0.008691, allocations: 160.2 kB / 0.767 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.008922, allocations: 240 kB / 0.7673 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.341e-05/0.008995, allocations: 127.8 kB / 0.7674 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.009025, allocations: 8.375 kB / 0.7674 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.009297, allocations: 179.1 kB / 0.7676 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/0.009303, allocations: 4.125 kB / 0.7676 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.009324, allocations: 8.125 kB / 0.7676 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.009329, allocations: 4 kB / 0.7676 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.009446, allocations: 55.3 kB / 0.7676 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005962/0.01004, allocations: 419.6 kB / 0.768 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.01127, allocations: 435.8 kB / 0.7684 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.738e-05/0.01134, allocations: 41.97 kB / 0.7685 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.01136, allocations: 5.094 kB / 0.7685 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.01152, allocations: 145.1 kB / 0.7686 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.01152, allocations: 3.938 kB / 0.7686 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.00027/0.01179, allocations: 166.3 kB / 0.7688 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.01182, allocations: 55.41 kB / 0.7688 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.01199, allocations: 307.4 kB / 0.7691 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.01202, allocations: 29.7 kB / 0.7692 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.01207, allocations: 121 kB / 0.7693 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.01212, allocations: 59.52 kB / 0.7693 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.02e-05/0.01219, allocations: 41.66 kB / 0.7694 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.367e-05/0.01227, allocations: 346.7 kB / 0.7697 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.01238, allocations: 111.1 kB / 0.7698 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.499e-05/0.01248, allocations: 101.6 kB / 0.7699 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.01263, allocations: 147.7 kB / 0.7701 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.01264, allocations: 0 / 0.7701 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002532/0.01289, allocations: 263 kB / 0.7703 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.01292, allocations: 41.69 kB / 0.7703 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.01292, allocations: 4 kB / 0.7703 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.01293, allocations: 0.9375 kB / 0.7704 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.01308, allocations: 45.05 kB / 0.7704 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.01308, allocations: 3.984 kB / 0.7704 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.01319, allocations: 29.44 kB / 0.7704 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.01321, allocations: 9.391 kB / 0.7704 GB, free: 11.67 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.297e-05/0.0133, allocations: 125.5 kB / 0.7706 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.01334, allocations: 27.91 kB / 0.7706 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.01338, allocations: 39.88 kB / 0.7706 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01338, allocations: 4 kB / 0.7706 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.01338, allocations: 4.859 kB / 0.7706 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.01339, allocations: 0 / 0.7706 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.01364, allocations: 194.6 kB / 0.7708 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.01364, allocations: 0 / 0.7708 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.01377, allocations: 48.83 kB / 0.7709 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01378, allocations: 0.8438 kB / 0.7709 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.01379, allocations: 11.92 kB / 0.7709 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01379, allocations: 5.844 kB / 0.7709 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.0138, allocations: 0 / 0.7709 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.01399, allocations: 154.3 kB / 0.771 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.291e-05/0.01407, allocations: 59.66 kB / 0.7711 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.0141, allocations: 12.84 kB / 0.7711 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.01422, allocations: 29.72 kB / 0.7711 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.01426, allocations: 15.97 kB / 0.7711 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.01428, allocations: 7.984 kB / 0.7711 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.686e-05/0.01436, allocations: 137.7 kB / 0.7713 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01436, allocations: 0 / 0.7713 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001888/0.01455, allocations: 75.94 kB / 0.7713 GB, free: 10.69 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.0001459/0.0147, allocations: 117.9 kB / 0.7715 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002586/0.01496, allocations: 240.2 kB / 0.7717 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.01496, allocations: 5.188 kB / 0.7717 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.729e-05/0.01505, allocations: 61.34 kB / 0.7718 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.01526, allocations: 105.6 kB / 0.7719 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008239/0.01608, allocations: 0.55 MB / 0.7724 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.335e-05/0.01614, allocations: 121.2 kB / 0.7725 GB, free: 9.445 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000171/0.01631, allocations: 62.02 kB / 0.7726 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/0.01653, allocations: 133.2 kB / 0.7727 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of SimCode: time 4.71e-07/0.01653, allocations: 0 / 0.7727 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of Templates: time 0.008701/0.02523, allocations: 8.221 MB / 0.7807 GB, free: 1.277 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 -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.163504010997713]