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.001878/0.001878, allocations: 81.06 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002208/0.002208, allocations: 169 kB / 22.46 MB, free: 5.359 MB / 14.72 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.627/1.627, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 3.047/3.047, allocations: 389 MB / 0.633 GB, free: 0.9844 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.1.|cooCap.EIR.1.",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.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 1 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.712e-05/4.972e-05, allocations: 2.281 kB / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004718/0.004767, allocations: 2.08 MB / 1.002 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003744/0.008512, allocations: 1.744 MB / 1.004 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.008646, allocations: 4 kB / 1.004 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009244/0.00957, allocations: 198.7 kB / 1.004 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.009763, allocations: 63.36 kB / 1.004 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.01108, allocations: 430.6 kB / 1.005 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006577/0.01174, allocations: 422.5 kB / 1.005 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.01187, allocations: 24.52 kB / 1.005 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003191/0.01219, allocations: 207.6 kB / 1.005 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002681/0.01246, allocations: 143.7 kB / 1.005 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.496e-05/0.01254, allocations: 24 kB / 1.005 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005319/0.01307, allocations: 259.5 kB / 1.006 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.01326, allocations: 115.6 kB / 1.006 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.01344, allocations: 107.7 kB / 1.006 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009364/0.01438, allocations: 0.6388 MB / 1.006 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.01438, allocations: 0 / 1.006 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.583e-06/0.01438, allocations: 0 / 1.006 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.0144, allocations: 0 / 1.006 GB, free: 0.8477 MB / 0.9512 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.00146/0.01586, allocations: 0.6422 MB / 1.007 GB, free: 172 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.01591, allocations: 12.03 kB / 1.007 GB, free: 160 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002098/0.01801, allocations: 174.1 kB / 1.007 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005545/0.01856, allocations: 319.8 kB / 1.008 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001773/0.01874, allocations: 131.3 kB / 1.008 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.804e-05/0.01879, allocations: 8.375 kB / 1.008 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.01995, allocations: 437.8 kB / 1.008 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.01996, allocations: 192 / 1.008 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/0.02, allocations: 2.625 kB / 1.008 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.02001, allocations: 4 kB / 1.008 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/0.02185, allocations: 0.6011 MB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/0.02406, allocations: 0.933 MB / 1.01 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005316/0.02937, allocations: 0.8534 MB / 1.01 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008654/0.03024, allocations: 312.6 kB / 1.011 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.03027, allocations: 7.984 kB / 1.011 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/0.03142, allocations: 439 kB / 1.011 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 2.344e-06/0.03143, allocations: 0 / 1.011 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002926/0.03435, allocations: 0.9499 MB / 1.012 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.03441, allocations: 55.41 kB / 1.012 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006359/0.03505, allocations: 437.5 kB / 1.013 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.988e-05/0.03512, allocations: 37.7 kB / 1.013 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.03531, allocations: 168.1 kB / 1.013 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.746e-05/0.0354, allocations: 63.45 kB / 1.013 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.03556, allocations: 57.67 kB / 1.013 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002437/0.03581, allocations: 342.8 kB / 1.013 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.03685, allocations: 413.4 kB / 1.014 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009955/0.03785, allocations: 415.8 kB / 1.014 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.03965, allocations: 0.6193 MB / 1.015 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.03966, allocations: 0 / 1.015 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002345/0.042, allocations: 0.9513 MB / 1.015 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.467e-05/0.04207, allocations: 41.69 kB / 1.016 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.04207, allocations: 4 kB / 1.016 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.04209, allocations: 0 / 1.016 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005474/0.04264, allocations: 67.86 kB / 1.016 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.04265, allocations: 0 / 1.016 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004559/0.0431, allocations: 47.88 kB / 1.016 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.04316, allocations: 11.98 kB / 1.016 GB, free: 7.125 MB / 0.9669 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.0003019/0.04346, allocations: 186.3 kB / 1.016 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.26e-05/0.04354, allocations: 35.77 kB / 1.016 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.085e-05/0.04363, allocations: 43.41 kB / 1.016 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.04363, allocations: 4 kB / 1.016 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.04364, allocations: 4 kB / 1.016 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/0.04366, allocations: 7.922 kB / 1.016 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000625/0.04428, allocations: 440.7 kB / 1.016 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.04428, allocations: 0 / 1.016 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000513/0.0448, allocations: 71.86 kB / 1.016 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.0448, allocations: 0 / 1.016 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/0.04484, allocations: 11.97 kB / 1.016 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.04484, allocations: 0 / 1.016 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.04484, allocations: 0 / 1.016 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/0.04675, allocations: 0.6801 MB / 1.017 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.04697, allocations: 91.69 kB / 1.017 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.939e-05/0.04704, allocations: 7.938 kB / 1.017 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005142/0.04755, allocations: 47.94 kB / 1.017 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.04765, allocations: 23.91 kB / 1.017 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/0.04769, allocations: 11.97 kB / 1.017 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004055/0.0481, allocations: 319.1 kB / 1.018 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.0481, allocations: 0 / 1.018 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004138/0.04851, allocations: 83.86 kB / 1.018 GB, free: 5.027 MB / 0.9669 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.0003396/0.04885, allocations: 123.2 kB / 1.018 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002148/0.051, allocations: 0.8076 MB / 1.019 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.051, allocations: 3.938 kB / 1.019 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0009344/0.05194, allocations: 331.7 kB / 1.019 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004936/0.05243, allocations: 79.48 kB / 1.019 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.05445, allocations: 0.8309 MB / 1.02 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.0547, allocations: 202.1 kB / 1.02 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003886/0.05508, allocations: 106.2 kB / 1.02 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.05525, allocations: 36.47 kB / 1.02 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of SimCode: time 8.82e-07/0.05525, allocations: 0 / 1.02 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of Templates: time 0.01555/0.0708, allocations: 7.541 MB / 1.027 GB, free: 11 MB / 0.9825 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.380441311746836]