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.0007774/0.0007774, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.0008643/0.0008643, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8998/0.8998, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.772/1.772, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] 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: "" <> 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 1.903e-06/1.903e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.36e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.00297/0.002993, allocations: 2.063 MB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00195/0.004944, allocations: 1.752 MB / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.005051, allocations: 0 / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005826/0.005633, allocations: 206.7 kB / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.005744, allocations: 59.42 kB / 1.004 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008302/0.006574, allocations: 441 kB / 1.004 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004338/0.007008, allocations: 414.6 kB / 1.004 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.893e-05/0.007107, allocations: 24.58 kB / 1.004 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.007323, allocations: 203.6 kB / 1.005 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.007497, allocations: 135.7 kB / 1.005 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.387e-05/0.007541, allocations: 24 kB / 1.005 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000343/0.007884, allocations: 267.4 kB / 1.005 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.008004, allocations: 123.6 kB / 1.005 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.008105, allocations: 107.8 kB / 1.005 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005958/0.0087, allocations: 0.6389 MB / 1.006 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.008704, allocations: 0 / 1.006 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.352e-06/0.008706, allocations: 3.938 kB / 1.006 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.008713, allocations: 3.938 kB / 1.006 GB, free: 7.047 MB / 0.9636 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.0008981/0.009611, allocations: 0.6383 MB / 1.007 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.009651, allocations: 12.75 kB / 1.007 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.017e-05/0.009692, allocations: 42.75 kB / 1.007 GB, free: 6.309 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009804/0.01067, allocations: 176.5 kB / 1.007 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.01104, allocations: 312 kB / 1.007 GB, free: 5.805 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.01114, allocations: 131.3 kB / 1.007 GB, free: 5.652 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.01117, allocations: 8.375 kB / 1.007 GB, free: 5.645 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005991/0.01176, allocations: 439.5 kB / 1.008 GB, free: 5.211 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.01177, allocations: 192 / 1.008 GB, free: 5.211 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.0118, allocations: 3.938 kB / 1.008 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.0118, allocations: 4 kB / 1.008 GB, free: 5.203 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008945/0.0127, allocations: 0.6089 MB / 1.008 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.01395, allocations: 0.9521 MB / 1.009 GB, free: 3.598 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/0.01625, allocations: 0.8573 MB / 1.01 GB, free: 2.73 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004336/0.01668, allocations: 312.6 kB / 1.01 GB, free: 2.422 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.0167, allocations: 3.938 kB / 1.01 GB, free: 2.418 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006089/0.01731, allocations: 449.5 kB / 1.011 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 2.344e-06/0.01731, allocations: 0 / 1.011 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.001443/0.01876, allocations: 0.9422 MB / 1.012 GB, free: 1.02 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.01881, allocations: 63.39 kB / 1.012 GB, free: 0.9453 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004086/0.01922, allocations: 437.6 kB / 1.012 GB, free: 0.5078 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.708e-05/0.01927, allocations: 33.7 kB / 1.012 GB, free: 480 kB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.01937, allocations: 172 kB / 1.012 GB, free: 304 kB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.96e-05/0.01942, allocations: 47.64 kB / 1.012 GB, free: 256 kB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.514e-05/0.01951, allocations: 57.67 kB / 1.012 GB, free: 192 kB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.01962, allocations: 346.7 kB / 1.013 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005076/0.02013, allocations: 409.4 kB / 1.013 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004764/0.02061, allocations: 417.5 kB / 1.014 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008277/0.02143, allocations: 0.617 MB / 1.014 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.02144, allocations: 0 / 1.014 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001127/0.02256, allocations: 0.9593 MB / 1.015 GB, free: 13.42 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 4.246e-05/0.02261, allocations: 41.69 kB / 1.015 GB, free: 13.37 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.02261, allocations: 0 / 1.015 GB, free: 13.37 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.02263, allocations: 0 / 1.015 GB, free: 13.37 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.02286, allocations: 71.84 kB / 1.015 GB, free: 13.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.02287, allocations: 4 kB / 1.015 GB, free: 13.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.02307, allocations: 43.84 kB / 1.015 GB, free: 13.25 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.0231, allocations: 19.97 kB / 1.015 GB, free: 13.23 MB / 0.9792 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.0001866/0.02329, allocations: 191.9 kB / 1.015 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.02333, allocations: 35.81 kB / 1.015 GB, free: 13 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.672e-05/0.02338, allocations: 47.33 kB / 1.016 GB, free: 12.96 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.02338, allocations: 3.938 kB / 1.016 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.02339, allocations: 4 kB / 1.016 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.02339, allocations: 0 / 1.016 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.02375, allocations: 468.2 kB / 1.016 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.02376, allocations: 4 kB / 1.016 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.02398, allocations: 59.92 kB / 1.016 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.02398, allocations: 4 kB / 1.016 GB, free: 12.38 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.024, allocations: 15.97 kB / 1.016 GB, free: 12.37 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.024, allocations: 0 / 1.016 GB, free: 12.37 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.024, allocations: 0 / 1.016 GB, free: 12.37 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009124/0.02492, allocations: 0.6829 MB / 1.017 GB, free: 11.67 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.02506, allocations: 95.62 kB / 1.017 GB, free: 11.57 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.02509, allocations: 4 kB / 1.017 GB, free: 11.57 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.02531, allocations: 47.94 kB / 1.017 GB, free: 11.52 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.02537, allocations: 15.97 kB / 1.017 GB, free: 11.51 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.02539, allocations: 19.97 kB / 1.017 GB, free: 11.49 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002334/0.02562, allocations: 311.1 kB / 1.017 GB, free: 11.19 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.02562, allocations: 0 / 1.017 GB, free: 11.19 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002668/0.02589, allocations: 79.98 kB / 1.017 GB, free: 11.11 MB / 0.9792 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.00132/0.02721, allocations: 1.252 MB / 1.018 GB, free: 9.828 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001137/0.02835, allocations: 0.7935 MB / 1.019 GB, free: 9.016 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.02835, allocations: 0 / 1.019 GB, free: 9.016 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004687/0.02882, allocations: 327.7 kB / 1.02 GB, free: 8.695 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.02919, allocations: 81.31 kB / 1.02 GB, free: 8.617 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006468/0.03566, allocations: 6.318 MB / 1.026 GB, free: 2.172 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.0358, allocations: 206.1 kB / 1.026 GB, free: 1.953 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002666/0.03606, allocations: 102.2 kB / 1.026 GB, free: 1.848 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.03622, allocations: 108.4 kB / 1.026 GB, free: 1.742 MB / 0.9792 GB Notification: Performance of SimCode: time 1.072e-06/0.03622, allocations: 0 / 1.026 GB, free: 1.742 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02664/0.06287, allocations: 12.06 MB / 1.038 GB, free: 5.914 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.01/7.073, allocations: 12.8 kB / 1.038 GB, free: 5.902 MB / 0.9948 GB " [Timeout remaining time 293] (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/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: 11.583198525942862]