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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.48/2.48, allocations: 476.7 MB / 0.7628 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001746/0.001746, allocations: 63.89 kB / 1.107 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.73/0.7318, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002686/0.7344, allocations: 2.176 MB / 1.273 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00199/0.7364, allocations: 1.868 MB / 1.275 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.633e-05/0.7365, allocations: 2.031 kB / 1.275 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005267/0.737, allocations: 230 kB / 1.276 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.7371, allocations: 65.36 kB / 1.276 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008164/0.738, allocations: 428.1 kB / 1.276 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003836/0.7383, allocations: 402.2 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.956e-05/0.7384, allocations: 24.39 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.7386, allocations: 158.6 kB / 1.277 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.7388, allocations: 160.7 kB / 1.277 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.161e-05/0.7388, allocations: 27.5 kB / 1.277 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003726/0.7392, allocations: 245.3 kB / 1.277 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.7393, allocations: 119.6 kB / 1.277 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.7395, allocations: 169.3 kB / 1.277 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005726/0.74, allocations: 0.604 MB / 1.278 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.74, allocations: 0.8438 kB / 1.278 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.153e-06/0.74, allocations: 0 / 1.278 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.74, allocations: 0 / 1.278 GB, free: 3.797 MB / 0.9981 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.0009508/0.741, allocations: 0.7174 MB / 1.279 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.741, allocations: 9.906 kB / 1.279 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.901e-05/0.7411, allocations: 44.92 kB / 1.279 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/0.7427, allocations: 155.4 kB / 1.279 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.743, allocations: 370.8 kB / 1.279 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.33e-05/0.7431, allocations: 78.17 kB / 1.279 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.928e-05/0.7431, allocations: 11.8 kB / 1.279 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000976/0.7441, allocations: 442.6 kB / 1.28 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.7441, allocations: 0 / 1.28 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/0.7442, allocations: 5.969 kB / 1.28 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.7442, allocations: 1.906 kB / 1.28 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.7457, allocations: 0.5793 MB / 1.28 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.7473, allocations: 1.049 MB / 1.281 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004513/0.7518, allocations: 0.8387 MB / 1.282 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006871/0.7525, allocations: 303 kB / 1.282 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.7525, allocations: 8.797 kB / 1.282 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009042/0.7534, allocations: 443.7 kB / 1.283 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.764e-06/0.7534, allocations: 0 / 1.283 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002285/0.7557, allocations: 0.9267 MB / 1.284 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.7557, allocations: 52.3 kB / 1.284 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004249/0.7561, allocations: 430.8 kB / 1.284 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.7562, allocations: 34.25 kB / 1.284 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.22e-05/0.7563, allocations: 171.2 kB / 1.284 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.971e-05/0.7563, allocations: 50.52 kB / 1.284 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.7564, allocations: 51.55 kB / 1.284 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.244e-05/0.7565, allocations: 356.3 kB / 1.285 GB, free: 436 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008046/0.7573, allocations: 386.8 kB / 1.285 GB, free: 324 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007872/0.7581, allocations: 365.2 kB / 1.285 GB, free: 232 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.7595, allocations: 0.5991 MB / 1.286 GB, free: 40 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7595, allocations: 5.5 kB / 1.286 GB, free: 36 kB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001909/0.7614, allocations: 0.896 MB / 1.287 GB, free: 15.75 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.611e-05/0.7614, allocations: 37.41 kB / 1.287 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.7614, allocations: 4 kB / 1.287 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.7614, allocations: 2.172 kB / 1.287 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004461/0.7619, allocations: 68.86 kB / 1.287 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.7619, allocations: 0 / 1.287 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004004/0.7623, allocations: 50.75 kB / 1.287 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-05/0.7623, allocations: 16 kB / 1.287 GB, free: 15.69 MB / 1.014 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 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$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.0002408/0.7626, allocations: 188.9 kB / 1.287 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/0.7626, allocations: 32.67 kB / 1.287 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.465e-05/0.7627, allocations: 38.31 kB / 1.287 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.7627, allocations: 6.156 kB / 1.287 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.7627, allocations: 0.7969 kB / 1.287 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.7627, allocations: 5.703 kB / 1.287 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005605/0.7633, allocations: 0.5423 MB / 1.288 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.7633, allocations: 0 / 1.288 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004558/0.7637, allocations: 68.94 kB / 1.288 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.7637, allocations: 8 kB / 1.288 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.7638, allocations: 7.625 kB / 1.288 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7638, allocations: 0 / 1.288 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.7638, allocations: 4.203 kB / 1.288 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.7653, allocations: 0.6591 MB / 1.289 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/0.7655, allocations: 161 kB / 1.289 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.947e-05/0.7656, allocations: 9.125 kB / 1.289 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004292/0.766, allocations: 50.69 kB / 1.289 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.121e-05/0.7661, allocations: 20.66 kB / 1.289 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.7661, allocations: 14.89 kB / 1.289 GB, free: 14.78 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003203/0.7664, allocations: 315.8 kB / 1.289 GB, free: 14.63 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.7664, allocations: 0 / 1.289 GB, free: 14.63 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003642/0.7668, allocations: 88.75 kB / 1.289 GB, free: 14.61 MB / 1.014 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.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * 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.002003/0.7688, allocations: 1.233 MB / 1.29 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001751/0.7706, allocations: 0.7508 MB / 1.291 GB, free: 13.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.7706, allocations: 0 / 1.291 GB, free: 13.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009525/0.7715, allocations: 321.1 kB / 1.291 GB, free: 13.52 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.772, allocations: 82.34 kB / 1.292 GB, free: 13.48 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009566/0.7815, allocations: 6.114 MB / 1.298 GB, free: 10.77 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.7819, allocations: 0.8154 MB / 1.298 GB, free: 10.05 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003551/0.7823, allocations: 100.3 kB / 1.298 GB, free: 10.02 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.7825, allocations: 100.7 kB / 1.299 GB, free: 9.953 MB / 1.014 GB Notification: Performance of SimCode: time 5.81e-07/0.7825, allocations: 0 / 1.299 GB, free: 9.953 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03505/0.8176, allocations: 10.82 MB / 1.309 GB, free: 8.859 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.615/8.432, allocations: 10.06 kB / 1.309 GB, free: 8.852 MB / 1.014 GB " [Timeout remaining time 291] (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 --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/jenkins1/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: 13.67113217899896]