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.001732/0.001732, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002119/0.002119, allocations: 206.7 kB / 22.24 MB, free: 5.262 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.25/3.25, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 63.39 kB / 1.153 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3343, allocations: 176.1 MB / 1.325 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003705/0.338, allocations: 2.078 MB / 1.327 GB, free: 276 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003021/0.341, allocations: 1.745 MB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.3412, allocations: 0 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007282/0.3419, allocations: 202.8 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.342, allocations: 67.34 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.3433, allocations: 429.2 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005675/0.3438, allocations: 414.7 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3439, allocations: 24.52 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.3441, allocations: 155.6 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.3444, allocations: 155.4 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.847e-05/0.3444, allocations: 28 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000486/0.3449, allocations: 263.7 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.3451, allocations: 115.6 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.3452, allocations: 139.3 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007557/0.346, allocations: 0.5917 MB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.346, allocations: 0 / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.754e-06/0.346, allocations: 0 / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.346, allocations: 0 / 1.331 GB, free: 11.97 MB / 1.029 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.00124/0.3473, allocations: 0.646 MB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.3473, allocations: 12.02 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.844e-05/0.3474, allocations: 42.75 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/0.349, allocations: 160.5 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005701/0.3496, allocations: 320.7 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.3498, allocations: 127.4 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.3498, allocations: 8.375 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.3509, allocations: 437.2 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3509, allocations: 0 / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.3509, allocations: 7.938 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.3509, allocations: 4 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/0.3526, allocations: 0.5854 MB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.3546, allocations: 0.9405 MB / 1.334 GB, free: 8.562 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005066/0.3597, allocations: 0.8377 MB / 1.335 GB, free: 7.715 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008247/0.3605, allocations: 300.6 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.3605, allocations: 4 kB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001178/0.3617, allocations: 449.6 kB / 1.336 GB, free: 6.965 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 3.076e-06/0.3617, allocations: 0 / 1.336 GB, free: 6.965 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002768/0.3645, allocations: 0.9149 MB / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.678e-05/0.3646, allocations: 59.34 kB / 1.337 GB, free: 5.973 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006516/0.3652, allocations: 433.6 kB / 1.337 GB, free: 5.535 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.197e-05/0.3653, allocations: 29.7 kB / 1.337 GB, free: 5.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.3655, allocations: 176.1 kB / 1.338 GB, free: 5.324 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.342e-05/0.3656, allocations: 47.62 kB / 1.338 GB, free: 5.277 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.3658, allocations: 61.62 kB / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000271/0.366, allocations: 354.7 kB / 1.338 GB, free: 4.855 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.367, allocations: 414.4 kB / 1.338 GB, free: 4.441 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009733/0.368, allocations: 414.9 kB / 1.339 GB, free: 4.031 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/0.3697, allocations: 0.6051 MB / 1.339 GB, free: 3.418 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3697, allocations: 0 / 1.339 GB, free: 3.418 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002094/0.3718, allocations: 0.9377 MB / 1.34 GB, free: 2.461 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.201e-05/0.3718, allocations: 41.69 kB / 1.34 GB, free: 2.414 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3718, allocations: 0 / 1.34 GB, free: 2.414 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3719, allocations: 0 / 1.34 GB, free: 2.414 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/0.3723, allocations: 67.91 kB / 1.34 GB, free: 2.348 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3723, allocations: 0 / 1.34 GB, free: 2.348 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004102/0.3727, allocations: 47.84 kB / 1.34 GB, free: 2.301 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.3728, allocations: 15.98 kB / 1.34 GB, free: 2.285 MB / 1.029 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.0003142/0.3731, allocations: 192.7 kB / 1.341 GB, free: 2.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.899e-05/0.3732, allocations: 35.77 kB / 1.341 GB, free: 2.055 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.028e-05/0.3733, allocations: 35.41 kB / 1.341 GB, free: 2.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-06/0.3733, allocations: 11.98 kB / 1.341 GB, free: 2.008 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.3733, allocations: 0 / 1.341 GB, free: 2.008 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.3733, allocations: 7.922 kB / 1.341 GB, free: 2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006122/0.3739, allocations: 468.2 kB / 1.341 GB, free: 1.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3739, allocations: 0 / 1.341 GB, free: 1.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000448/0.3744, allocations: 63.92 kB / 1.341 GB, free: 1.438 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3744, allocations: 4 kB / 1.341 GB, free: 1.434 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.3744, allocations: 7.984 kB / 1.341 GB, free: 1.426 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3744, allocations: 0 / 1.341 GB, free: 1.426 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3744, allocations: 0 / 1.341 GB, free: 1.426 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.3761, allocations: 0.6666 MB / 1.342 GB, free: 0.7422 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.3764, allocations: 91.62 kB / 1.342 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.306e-05/0.3765, allocations: 8 kB / 1.342 GB, free: 0.6445 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004421/0.3769, allocations: 47.94 kB / 1.342 GB, free: 0.5977 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.533e-05/0.377, allocations: 23.91 kB / 1.342 GB, free: 0.5742 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.377, allocations: 15.86 kB / 1.342 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000409/0.3775, allocations: 323.1 kB / 1.342 GB, free: 252 kB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3775, allocations: 0 / 1.342 GB, free: 252 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004074/0.3779, allocations: 83.92 kB / 1.342 GB, free: 168 kB / 1.029 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.002327/0.3802, allocations: 1.225 MB / 1.344 GB, free: 14.91 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002001/0.3822, allocations: 0.7869 MB / 1.344 GB, free: 14.1 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3822, allocations: 0 / 1.344 GB, free: 14.1 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008601/0.383, allocations: 323.8 kB / 1.345 GB, free: 13.79 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004977/0.3835, allocations: 81.27 kB / 1.345 GB, free: 13.71 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.395, allocations: 6.253 MB / 1.351 GB, free: 7.332 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.3953, allocations: 202.1 kB / 1.351 GB, free: 7.117 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000411/0.3957, allocations: 102.2 kB / 1.351 GB, free: 7.016 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/0.3959, allocations: 103.4 kB / 1.351 GB, free: 6.914 MB / 1.045 GB Notification: Performance of SimCode: time 1.162e-06/0.3959, allocations: 0 / 1.351 GB, free: 6.914 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04777/0.4437, allocations: 12.01 MB / 1.363 GB, free: 11.12 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.79, allocations: 10.09 kB / 1.363 GB, free: 11.12 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.fmu > Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 420.0] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.607301154639572]