Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001169/0.001169, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001359/0.001359, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8691/0.8691, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.639/1.639, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.9505 GB, free: 2.383 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.871e-05, allocations: 5.375 kB / 0.9505 GB, free: 2.379 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002467/0.002486, allocations: 2.067 MB / 0.9525 GB, free: 300 kB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.004363, allocations: 1.748 MB / 0.9542 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.486e-05/0.004458, allocations: 7.938 kB / 0.9542 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005219/0.00498, allocations: 194.8 kB / 0.9544 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.005091, allocations: 75.3 kB / 0.9545 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007315/0.005822, allocations: 425.7 kB / 0.9549 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0003576/0.00618, allocations: 418.6 kB / 0.9553 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.986e-05/0.00627, allocations: 28.5 kB / 0.9553 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.006435, allocations: 207.6 kB / 0.9555 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.00658, allocations: 131.7 kB / 0.9556 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.006622, allocations: 28 kB / 0.9557 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002863/0.006908, allocations: 255.5 kB / 0.9559 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.007022, allocations: 127.6 kB / 0.956 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 8.439e-05/0.007106, allocations: 103.8 kB / 0.9561 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004825/0.007589, allocations: 0.6466 MB / 0.9568 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.007591, allocations: 0 / 0.9568 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.242e-06/0.007592, allocations: 0 / 0.9568 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.007597, allocations: 4 kB / 0.9568 GB, free: 11.93 MB / 0.8698 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.0008073/0.008404, allocations: 0.6383 MB / 0.9574 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.008445, allocations: 8.031 kB / 0.9574 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.807e-05/0.008483, allocations: 38.75 kB / 0.9574 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008083/0.009292, allocations: 168.5 kB / 0.9576 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.009616, allocations: 308.1 kB / 0.9579 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.121e-05/0.009707, allocations: 127.3 kB / 0.958 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.009735, allocations: 12.38 kB / 0.958 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005501/0.01029, allocations: 420.5 kB / 0.9584 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.01029, allocations: 8.125 kB / 0.9584 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.01032, allocations: 7.938 kB / 0.9584 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.01032, allocations: 3.984 kB / 0.9584 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000801/0.01112, allocations: 0.5816 MB / 0.959 GB, free: 9.531 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.01233, allocations: 0.9325 MB / 0.9599 GB, free: 8.555 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/0.01446, allocations: 0.8338 MB / 0.9607 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003893/0.01485, allocations: 300.6 kB / 0.961 GB, free: 7.414 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.01487, allocations: 8 kB / 0.961 GB, free: 7.406 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005242/0.01539, allocations: 423 kB / 0.9614 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=16): time 1.442e-06/0.01539, allocations: 0 / 0.9614 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16): time 0.001256/0.01665, allocations: 0.9216 MB / 0.9623 GB, free: 6.055 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.01668, allocations: 59.39 kB / 0.9624 GB, free: 5.984 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.01698, allocations: 433.6 kB / 0.9628 GB, free: 5.555 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.01701, allocations: 37.69 kB / 0.9628 GB, free: 5.512 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.962e-05/0.0171, allocations: 164.1 kB / 0.963 GB, free: 5.348 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.01714, allocations: 55.53 kB / 0.9631 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.91e-05/0.01722, allocations: 53.67 kB / 0.9631 GB, free: 5.234 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.399e-05/0.01732, allocations: 350.7 kB / 0.9634 GB, free: 4.883 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004535/0.01777, allocations: 397.4 kB / 0.9638 GB, free: 4.488 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004389/0.01821, allocations: 401.4 kB / 0.9642 GB, free: 4.09 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000748/0.01896, allocations: 0.5989 MB / 0.9648 GB, free: 3.484 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01896, allocations: 0 / 0.9648 GB, free: 3.484 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001031/0.01999, allocations: 0.9339 MB / 0.9657 GB, free: 2.531 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/0.02002, allocations: 41.69 kB / 0.9657 GB, free: 2.484 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.02003, allocations: 0 / 0.9657 GB, free: 2.484 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.02004, allocations: 4 kB / 0.9657 GB, free: 2.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.02024, allocations: 63.91 kB / 0.9658 GB, free: 2.418 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.02024, allocations: 7.984 kB / 0.9658 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.02041, allocations: 47.84 kB / 0.9659 GB, free: 2.363 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.02044, allocations: 11.98 kB / 0.9659 GB, free: 2.352 MB / 0.8698 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.0002861/0.02072, allocations: 200.2 kB / 0.9661 GB, free: 2.148 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.02076, allocations: 35.77 kB / 0.9661 GB, free: 2.113 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.835e-05/0.02081, allocations: 43.41 kB / 0.9661 GB, free: 2.062 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.02081, allocations: 0 / 0.9661 GB, free: 2.062 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.02082, allocations: 0 / 0.9661 GB, free: 2.062 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.02082, allocations: 3.984 kB / 0.9661 GB, free: 2.059 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/0.02116, allocations: 464.1 kB / 0.9666 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.02116, allocations: 0 / 0.9666 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.02135, allocations: 67.92 kB / 0.9666 GB, free: 1.496 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.02135, allocations: 0 / 0.9666 GB, free: 1.496 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.02137, allocations: 7.984 kB / 0.9667 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.02137, allocations: 3.938 kB / 0.9667 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.02137, allocations: 3.938 kB / 0.9667 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008411/0.02221, allocations: 0.6605 MB / 0.9673 GB, free: 0.8008 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.02233, allocations: 91.64 kB / 0.9674 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.02236, allocations: 3.984 kB / 0.9674 GB, free: 0.707 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.02254, allocations: 51.94 kB / 0.9674 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.0226, allocations: 19.95 kB / 0.9675 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.02262, allocations: 11.98 kB / 0.9675 GB, free: 0.625 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002084/0.02283, allocations: 319.1 kB / 0.9678 GB, free: 328 kB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.02283, allocations: 3.938 kB / 0.9678 GB, free: 324 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002355/0.02306, allocations: 79.94 kB / 0.9679 GB, free: 244 kB / 0.8698 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.001125/0.02419, allocations: 1.233 MB / 0.9691 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009471/0.02513, allocations: 0.7846 MB / 0.9698 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.02514, allocations: 0 / 0.9698 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004118/0.02555, allocations: 319.7 kB / 0.9701 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.02584, allocations: 81.33 kB / 0.9702 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006028/0.03187, allocations: 6.237 MB / 0.9763 GB, free: 7.43 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.03199, allocations: 202.1 kB / 0.9765 GB, free: 7.211 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002211/0.03221, allocations: 106.2 kB / 0.9766 GB, free: 7.105 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.03236, allocations: 100.4 kB / 0.9767 GB, free: 7.008 MB / 0.8855 GB Notification: Performance of SimCode: time 7.62e-07/0.03236, allocations: 0 / 0.9767 GB, free: 7.008 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/0.05712, allocations: 11.98 MB / 0.9884 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.424/7.481, allocations: 10.23 kB / 0.9884 GB, free: 11.26 MB / 0.9011 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.fmu > Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.374807558953762]