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.001725/0.001725, allocations: 110.5 kB / 16.46 MB, free: 6.035 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.001793/0.001793, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.474/1.474, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] 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.794/2.794, allocations: 476.7 MB / 0.7611 GB, free: 11.33 MB / 0.6231 GB " [Timeout remaining time 176] 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.001939/0.001939, allocations: 71.88 kB / 1.104 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8898/0.8918, allocations: 168.7 MB / 1.269 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003605/0.8954, allocations: 2.159 MB / 1.271 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002849/0.8982, allocations: 1.85 MB / 1.273 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.8984, allocations: 4 kB / 1.273 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006482/0.899, allocations: 228.5 kB / 1.273 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.8992, allocations: 71.34 kB / 1.273 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.9002, allocations: 422.4 kB / 1.273 GB, free: 484 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004959/0.9007, allocations: 406.7 kB / 1.274 GB, free: 76 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.841e-05/0.9008, allocations: 20.41 kB / 1.274 GB, free: 52 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.901, allocations: 159.6 kB / 1.274 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002281/0.9012, allocations: 167.3 kB / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.046e-05/0.9013, allocations: 28 kB / 1.274 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004045/0.9017, allocations: 239.7 kB / 1.274 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.9018, allocations: 119.7 kB / 1.274 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.902, allocations: 167.2 kB / 1.275 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000737/0.9027, allocations: 0.5956 MB / 1.275 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.9027, allocations: 0 / 1.275 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9027, allocations: 0 / 1.275 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.9027, allocations: 0 / 1.275 GB, free: 14.59 MB / 0.9825 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.001234/0.904, allocations: 0.7252 MB / 1.276 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.904, allocations: 8.031 kB / 1.276 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.906e-05/0.9041, allocations: 46.73 kB / 1.276 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.9057, allocations: 152.6 kB / 1.276 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005663/0.9063, allocations: 374.6 kB / 1.276 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.9064, allocations: 75.94 kB / 1.277 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.204e-05/0.9064, allocations: 16.31 kB / 1.277 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.9075, allocations: 445.1 kB / 1.277 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.9075, allocations: 0 / 1.277 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.9075, allocations: 4 kB / 1.277 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.9075, allocations: 0 / 1.277 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.9091, allocations: 0.5836 MB / 1.278 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.9111, allocations: 1.047 MB / 1.279 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004872/0.916, allocations: 0.8415 MB / 1.279 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007461/0.9167, allocations: 300.7 kB / 1.28 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.9168, allocations: 4 kB / 1.28 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00099/0.9178, allocations: 443 kB / 1.28 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.154e-06/0.9178, allocations: 0 / 1.28 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0025/0.9203, allocations: 0.9284 MB / 1.281 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.9203, allocations: 51.41 kB / 1.281 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005921/0.9209, allocations: 433.6 kB / 1.281 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.372e-05/0.921, allocations: 33.7 kB / 1.281 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.9211, allocations: 168 kB / 1.282 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.248e-05/0.9212, allocations: 55.58 kB / 1.282 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.9213, allocations: 45.69 kB / 1.282 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.9215, allocations: 358.7 kB / 1.282 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008961/0.9224, allocations: 384.6 kB / 1.282 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008339/0.9233, allocations: 367.8 kB / 1.283 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.9248, allocations: 0.5943 MB / 1.283 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.9248, allocations: 4 kB / 1.283 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001933/0.9267, allocations: 0.9048 MB / 1.284 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.631e-05/0.9268, allocations: 45.69 kB / 1.284 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.9268, allocations: 0 / 1.284 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.9268, allocations: 0 / 1.284 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/0.9272, allocations: 63.92 kB / 1.284 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.9272, allocations: 0 / 1.284 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004112/0.9277, allocations: 47.83 kB / 1.284 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-05/0.9277, allocations: 19.97 kB / 1.284 GB, free: 4.828 MB / 0.9825 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.000306/0.928, allocations: 192.3 kB / 1.285 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.638e-05/0.9281, allocations: 39.75 kB / 1.285 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.104e-05/0.9282, allocations: 35.47 kB / 1.285 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.9282, allocations: 8 kB / 1.285 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.9282, allocations: 4 kB / 1.285 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.9282, allocations: 7.875 kB / 1.285 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006349/0.9288, allocations: 0.5439 MB / 1.285 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.9288, allocations: 0 / 1.285 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004283/0.9292, allocations: 59.92 kB / 1.285 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.9293, allocations: 8 kB / 1.285 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.9293, allocations: 7.922 kB / 1.285 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.9293, allocations: 7.938 kB / 1.285 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.9293, allocations: 0 / 1.285 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.9309, allocations: 0.6605 MB / 1.286 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002645/0.9312, allocations: 164.8 kB / 1.286 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.297e-05/0.9312, allocations: 8 kB / 1.286 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/0.9316, allocations: 47.94 kB / 1.286 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.263e-05/0.9317, allocations: 19.97 kB / 1.286 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.9318, allocations: 11.92 kB / 1.286 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003974/0.9321, allocations: 319.1 kB / 1.287 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9321, allocations: 0 / 1.287 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000415/0.9326, allocations: 83.94 kB / 1.287 GB, free: 2.531 MB / 0.9825 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.002169/0.9347, allocations: 1.236 MB / 1.288 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001804/0.9365, allocations: 0.7526 MB / 1.289 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.9365, allocations: 0 / 1.289 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007647/0.9373, allocations: 319.7 kB / 1.289 GB, free: 192 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.9378, allocations: 79.36 kB / 1.289 GB, free: 116 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.9479, allocations: 6.103 MB / 1.295 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004642/0.9483, allocations: 0.8103 MB / 1.296 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003906/0.9487, allocations: 110.2 kB / 1.296 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.9489, allocations: 99.38 kB / 1.296 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of SimCode: time 1.152e-06/0.9489, allocations: 4 kB / 1.296 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03785/0.9868, allocations: 10.82 MB / 1.306 GB, free: 14.23 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.348/9.335, allocations: 4.062 kB / 1.306 GB, free: 14.23 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 --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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.481607945170254]