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.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.001585/0.001585, allocations: 104.6 kB / 16.45 MB, free: 6.449 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.001493/0.001493, allocations: 187.8 kB / 19.4 MB, free: 3.66 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.489/1.489, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.941/2.941, allocations: 497.2 MB / 0.7812 GB, free: 12.01 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 67.89 kB / 1.134 GB, free: 13.21 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.031, allocations: 173.9 MB / 1.304 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002746/1.034, allocations: 2.143 MB / 1.306 GB, free: 30.6 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002156/1.036, allocations: 1.866 MB / 1.308 GB, free: 29.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/1.036, allocations: 6.875 kB / 1.308 GB, free: 29.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006246/1.037, allocations: 233.1 kB / 1.308 GB, free: 29.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001186/1.037, allocations: 62.83 kB / 1.308 GB, free: 29.13 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009525/1.038, allocations: 424 kB / 1.309 GB, free: 28.93 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003905/1.038, allocations: 405.1 kB / 1.309 GB, free: 28.76 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.596e-05/1.038, allocations: 38.08 kB / 1.309 GB, free: 28.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/1.038, allocations: 148.5 kB / 1.309 GB, free: 28.68 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/1.039, allocations: 162.2 kB / 1.309 GB, free: 28.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.621e-05/1.039, allocations: 26.06 kB / 1.309 GB, free: 28.61 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003179/1.039, allocations: 240.6 kB / 1.31 GB, free: 28.55 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/1.039, allocations: 122.1 kB / 1.31 GB, free: 28.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/1.039, allocations: 163.5 kB / 1.31 GB, free: 28.39 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005226/1.04, allocations: 0.6002 MB / 1.31 GB, free: 28.2 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.04, allocations: 0 / 1.31 GB, free: 28.2 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.663e-06/1.04, allocations: 0 / 1.31 GB, free: 28.2 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.234e-06/1.04, allocations: 4 kB / 1.31 GB, free: 28.2 MB / 1.061 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.001016/1.041, allocations: 0.7157 MB / 1.311 GB, free: 27.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/1.041, allocations: 12.19 kB / 1.311 GB, free: 27.61 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/1.041, allocations: 41.75 kB / 1.311 GB, free: 27.57 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/1.042, allocations: 162.9 kB / 1.311 GB, free: 27.54 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/1.043, allocations: 371.7 kB / 1.312 GB, free: 27.24 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.833e-05/1.043, allocations: 80.39 kB / 1.312 GB, free: 27.17 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/1.043, allocations: 6.125 kB / 1.312 GB, free: 27.17 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008522/1.044, allocations: 442 kB / 1.312 GB, free: 27.03 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/1.044, allocations: 3.938 kB / 1.312 GB, free: 27.03 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/1.044, allocations: 10.88 kB / 1.312 GB, free: 27.02 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/1.044, allocations: 0 / 1.312 GB, free: 27.02 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/1.045, allocations: 0.5847 MB / 1.313 GB, free: 26.88 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/1.047, allocations: 1.039 MB / 1.314 GB, free: 26.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004545/1.051, allocations: 0.8379 MB / 1.315 GB, free: 26.18 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006552/1.052, allocations: 297.7 kB / 1.315 GB, free: 26.09 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/1.052, allocations: 2.375 kB / 1.315 GB, free: 26.09 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008447/1.053, allocations: 448.8 kB / 1.315 GB, free: 25.95 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 2.795e-06/1.053, allocations: 0 / 1.315 GB, free: 25.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002145/1.055, allocations: 0.9196 MB / 1.316 GB, free: 25.68 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/1.055, allocations: 54.12 kB / 1.316 GB, free: 25.61 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/1.056, allocations: 435 kB / 1.317 GB, free: 25.41 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.045e-05/1.056, allocations: 42.61 kB / 1.317 GB, free: 25.37 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/1.056, allocations: 173.2 kB / 1.317 GB, free: 25.22 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.716e-05/1.056, allocations: 48.7 kB / 1.317 GB, free: 25.18 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/1.056, allocations: 56.12 kB / 1.317 GB, free: 25.15 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.588e-05/1.056, allocations: 347.4 kB / 1.317 GB, free: 24.82 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007173/1.057, allocations: 387 kB / 1.318 GB, free: 24.71 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007023/1.057, allocations: 370.6 kB / 1.318 GB, free: 24.62 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/1.059, allocations: 0.5994 MB / 1.319 GB, free: 24.43 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.059, allocations: 0 / 1.319 GB, free: 24.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001595/1.06, allocations: 0.8985 MB / 1.319 GB, free: 24.15 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/1.06, allocations: 40.08 kB / 1.32 GB, free: 24.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.06, allocations: 0 / 1.32 GB, free: 24.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/1.06, allocations: 0 / 1.32 GB, free: 24.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004189/1.061, allocations: 74.22 kB / 1.32 GB, free: 24.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/1.061, allocations: 2.5 kB / 1.32 GB, free: 24.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003953/1.061, allocations: 42.91 kB / 1.32 GB, free: 24.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.46e-05/1.061, allocations: 23.33 kB / 1.32 GB, free: 24.09 MB / 1.061 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.0002302/1.061, allocations: 187.6 kB / 1.32 GB, free: 23.94 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/1.061, allocations: 32.16 kB / 1.32 GB, free: 23.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.184e-05/1.061, allocations: 39.22 kB / 1.32 GB, free: 23.91 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.061, allocations: 2.531 kB / 1.32 GB, free: 23.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/1.061, allocations: 0 / 1.32 GB, free: 23.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.061, allocations: 3.938 kB / 1.32 GB, free: 23.91 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/1.062, allocations: 0.5421 MB / 1.32 GB, free: 23.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.062, allocations: 3.938 kB / 1.32 GB, free: 23.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004039/1.062, allocations: 73.45 kB / 1.321 GB, free: 23.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/1.062, allocations: 2.625 kB / 1.321 GB, free: 23.57 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/1.062, allocations: 6 kB / 1.321 GB, free: 23.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/1.062, allocations: 0 / 1.321 GB, free: 23.57 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.062, allocations: 3.938 kB / 1.321 GB, free: 23.57 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/1.064, allocations: 0.6594 MB / 1.321 GB, free: 23.33 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/1.064, allocations: 173.8 kB / 1.321 GB, free: 23.19 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.042e-05/1.064, allocations: 5.625 kB / 1.321 GB, free: 23.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/1.065, allocations: 46.7 kB / 1.321 GB, free: 23.18 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.643e-05/1.065, allocations: 24.98 kB / 1.321 GB, free: 23.17 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/1.065, allocations: 16.47 kB / 1.321 GB, free: 23.16 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003982/1.065, allocations: 323.5 kB / 1.322 GB, free: 23.01 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/1.065, allocations: 0 / 1.322 GB, free: 23.01 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004246/1.066, allocations: 78.41 kB / 1.322 GB, free: 23 MB / 1.061 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.001963/1.068, allocations: 1.23 MB / 1.323 GB, free: 22.23 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001675/1.069, allocations: 0.7523 MB / 1.324 GB, free: 21.99 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.069, allocations: 0.75 kB / 1.324 GB, free: 21.99 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007301/1.07, allocations: 315.6 kB / 1.324 GB, free: 21.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004782/1.07, allocations: 89.66 kB / 1.324 GB, free: 21.87 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/1.08, allocations: 6.102 MB / 1.33 GB, free: 19.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/1.081, allocations: 0.8201 MB / 1.331 GB, free: 18.45 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004218/1.081, allocations: 95.86 kB / 1.331 GB, free: 18.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/1.081, allocations: 104.8 kB / 1.331 GB, free: 18.36 MB / 1.061 GB Notification: Performance of SimCode: time 1.663e-06/1.081, allocations: 0 / 1.331 GB, free: 18.36 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04351/1.125, allocations: 10.83 MB / 1.342 GB, free: 17.27 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.361/9.486, allocations: 8.594 kB / 1.342 GB, free: 17.27 MB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.fmu > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 840.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.977745339740068]