Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 116 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 192.2 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.023/2.023, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 64.75 kB / 0.814 GB, free: 32.76 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2165, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.003185/0.2197, allocations: 2.354 MB / 0.9534 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00227/0.222, allocations: 1.866 MB / 0.9553 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.009e-05/0.2221, allocations: 0 / 0.9553 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005349/0.2226, allocations: 226.7 kB / 0.9555 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.373e-05/0.2227, allocations: 59.42 kB / 0.9555 GB, free: 3.516 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function 'Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Functions.warnIfPerformanceOutOfBounds' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0008615/0.2236, allocations: 422.5 kB / 0.9559 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003871/0.224, allocations: 414.7 kB / 0.9563 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2241, allocations: 36.41 kB / 0.9564 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.2242, allocations: 151.6 kB / 0.9565 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.2244, allocations: 159.4 kB / 0.9567 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.736e-05/0.2245, allocations: 35.94 kB / 0.9567 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003285/0.2248, allocations: 243.7 kB / 0.9569 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.2249, allocations: 111.7 kB / 0.957 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.2251, allocations: 167.2 kB / 0.9572 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005359/0.2256, allocations: 0.6037 MB / 0.9578 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2257, allocations: 0 / 0.9578 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2257, allocations: 0 / 0.9578 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.2257, allocations: 0 / 0.9578 GB, free: 1.207 MB / 0.7325 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.0009923/0.2267, allocations: 0.7022 MB / 0.9585 GB, free: 460 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.2267, allocations: 12.03 kB / 0.9585 GB, free: 448 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/0.2282, allocations: 160.3 kB / 0.9586 GB, free: 288 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/0.2287, allocations: 378.4 kB / 0.959 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.05e-05/0.2288, allocations: 71.95 kB / 0.9591 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.044e-05/0.2288, allocations: 15.94 kB / 0.9591 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008767/0.2297, allocations: 435 kB / 0.9595 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.2297, allocations: 3.938 kB / 0.9595 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.2298, allocations: 4 kB / 0.9595 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2298, allocations: 4 kB / 0.9595 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.2311, allocations: 0.5854 MB / 0.9601 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.2327, allocations: 1.047 MB / 0.9611 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004394/0.2371, allocations: 0.8455 MB / 0.9619 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006411/0.2377, allocations: 312.7 kB / 0.9622 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.2378, allocations: 3.938 kB / 0.9622 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008309/0.2386, allocations: 439 kB / 0.9627 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.2386, allocations: 0 / 0.9627 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of matching and sorting (n=16): time 0.002079/0.2407, allocations: 0.9252 MB / 0.9636 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.2408, allocations: 55.41 kB / 0.9636 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004074/0.2412, allocations: 441.5 kB / 0.964 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/0.2412, allocations: 29.7 kB / 0.9641 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.2413, allocations: 172.1 kB / 0.9642 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.447e-05/0.2414, allocations: 55.28 kB / 0.9643 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.2415, allocations: 49.69 kB / 0.9643 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2416, allocations: 350.8 kB / 0.9647 GB, free: 9.934 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000739/0.2424, allocations: 384.6 kB / 0.965 GB, free: 9.555 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007119/0.2431, allocations: 371.7 kB / 0.9654 GB, free: 9.191 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.2444, allocations: 0.5982 MB / 0.966 GB, free: 8.586 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2444, allocations: 3.984 kB / 0.966 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001657/0.246, allocations: 0.9085 MB / 0.9669 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.368e-05/0.2461, allocations: 44.34 kB / 0.9669 GB, free: 7.613 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.2461, allocations: 0 / 0.9669 GB, free: 7.613 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.2461, allocations: 4 kB / 0.9669 GB, free: 7.609 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003941/0.2465, allocations: 55.92 kB / 0.967 GB, free: 7.555 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.2465, allocations: 7.938 kB / 0.967 GB, free: 7.547 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/0.2469, allocations: 39.95 kB / 0.967 GB, free: 7.508 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.2469, allocations: 11.98 kB / 0.967 GB, free: 7.496 MB / 0.7481 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.0001914/0.2471, allocations: 192.8 kB / 0.9672 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-05/0.2472, allocations: 35.53 kB / 0.9672 GB, free: 7.266 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.855e-05/0.2473, allocations: 51.45 kB / 0.9673 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2473, allocations: 0 / 0.9673 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2473, allocations: 3.938 kB / 0.9673 GB, free: 7.207 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2473, allocations: 0 / 0.9673 GB, free: 7.207 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004828/0.2478, allocations: 0.5438 MB / 0.9678 GB, free: 6.613 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2478, allocations: 0 / 0.9678 GB, free: 6.613 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003946/0.2482, allocations: 67.91 kB / 0.9679 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.2482, allocations: 0 / 0.9679 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.2482, allocations: 11.98 kB / 0.9679 GB, free: 6.535 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2482, allocations: 0 / 0.9679 GB, free: 6.535 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2482, allocations: 7.875 kB / 0.9679 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.2496, allocations: 0.6642 MB / 0.9685 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.2499, allocations: 164.7 kB / 0.9687 GB, free: 5.664 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.502e-05/0.2499, allocations: 8 kB / 0.9687 GB, free: 5.656 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.2503, allocations: 47.94 kB / 0.9688 GB, free: 5.609 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.2504, allocations: 23.91 kB / 0.9688 GB, free: 5.586 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.2504, allocations: 11.98 kB / 0.9688 GB, free: 5.574 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002864/0.2507, allocations: 319.1 kB / 0.9691 GB, free: 5.262 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2507, allocations: 0 / 0.9691 GB, free: 5.262 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003147/0.251, allocations: 80.25 kB / 0.9692 GB, free: 5.184 MB / 0.7481 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.0003255/0.2514, allocations: 154.8 kB / 0.9693 GB, free: 5.035 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001521/0.2529, allocations: 0.7644 MB / 0.9701 GB, free: 4.258 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.2529, allocations: 4 kB / 0.9701 GB, free: 4.254 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006904/0.2536, allocations: 323.7 kB / 0.9704 GB, free: 3.938 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.254, allocations: 81.44 kB / 0.9705 GB, free: 3.859 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.2554, allocations: 0.8074 MB / 0.9712 GB, free: 3.027 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.2558, allocations: 0.8104 MB / 0.972 GB, free: 2.191 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003023/0.2561, allocations: 102.2 kB / 0.9721 GB, free: 2.094 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.2562, allocations: 39.34 kB / 0.9722 GB, free: 2.055 MB / 0.7481 GB Notification: Performance of SimCode: time 2.21e-07/0.2562, allocations: 0 / 0.9722 GB, free: 2.055 MB / 0.7481 GB Notification: Performance of Templates: time 0.4186/0.6748, allocations: 7.172 MB / 0.9792 GB, free: 10.99 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches