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.001871/0.001871, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002308/0.002308, allocations: 211.3 kB / 23 MB, free: 4.934 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.634/1.634, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.482/3.482, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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: translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") [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.00211/0.00211, allocations: 65.06 kB / 1.155 GB, free: 25.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5075/0.5097, allocations: 176.1 MB / 1.327 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.005438/0.5151, allocations: 2.081 MB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004075/0.5192, allocations: 1.737 MB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.5193, allocations: 4 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009253/0.5202, allocations: 206.8 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.5204, allocations: 71.3 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.5217, allocations: 413 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006573/0.5223, allocations: 422.7 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.5225, allocations: 20.58 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.5227, allocations: 151.6 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.5229, allocations: 171.3 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.381e-05/0.523, allocations: 28 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005217/0.5235, allocations: 267.7 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.5237, allocations: 123.6 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.5239, allocations: 135.3 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008974/0.5248, allocations: 0.5918 MB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/0.5248, allocations: 0 / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5248, allocations: 0 / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.457e-06/0.5248, allocations: 0 / 1.333 GB, free: 10.48 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.001659/0.5265, allocations: 0.646 MB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.531e-05/0.5266, allocations: 12.03 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/0.5284, allocations: 160.5 kB / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/0.529, allocations: 320.6 kB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/0.5292, allocations: 127.3 kB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.838e-05/0.5293, allocations: 12.38 kB / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.5304, allocations: 442.9 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.5305, allocations: 4 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.982e-05/0.5305, allocations: 4 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.5305, allocations: 4 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.5322, allocations: 0.5815 MB / 1.336 GB, free: 8.098 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002169/0.5344, allocations: 0.9175 MB / 1.336 GB, free: 7.148 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005283/0.5397, allocations: 0.8356 MB / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007791/0.5405, allocations: 300.7 kB / 1.338 GB, free: 6.008 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.5405, allocations: 3.938 kB / 1.338 GB, free: 6.004 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001104/0.5416, allocations: 439.3 kB / 1.338 GB, free: 5.562 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 4.117e-06/0.5416, allocations: 4 kB / 1.338 GB, free: 5.559 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.00266/0.5443, allocations: 0.9206 MB / 1.339 GB, free: 4.633 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.5443, allocations: 55.41 kB / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006331/0.545, allocations: 433.6 kB / 1.339 GB, free: 4.133 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.343e-05/0.545, allocations: 33.64 kB / 1.339 GB, free: 4.094 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.5452, allocations: 176.1 kB / 1.34 GB, free: 3.918 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.5454, allocations: 43.64 kB / 1.34 GB, free: 3.875 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.5455, allocations: 53.67 kB / 1.34 GB, free: 3.816 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002367/0.5457, allocations: 358.7 kB / 1.34 GB, free: 3.457 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009658/0.5467, allocations: 414.2 kB / 1.34 GB, free: 3.043 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000909/0.5476, allocations: 413.5 kB / 1.341 GB, free: 2.633 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.5491, allocations: 0.6017 MB / 1.341 GB, free: 2.023 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5491, allocations: 0 / 1.341 GB, free: 2.023 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002086/0.5512, allocations: 0.9352 MB / 1.342 GB, free: 1.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.651e-05/0.5513, allocations: 41.69 kB / 1.342 GB, free: 1.023 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.5513, allocations: 7.938 kB / 1.342 GB, free: 1.016 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.5513, allocations: 0 / 1.342 GB, free: 1.016 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/0.5518, allocations: 67.91 kB / 1.342 GB, free: 0.9492 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.5518, allocations: 0 / 1.342 GB, free: 0.9492 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/0.5522, allocations: 43.91 kB / 1.342 GB, free: 0.9062 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.813e-05/0.5523, allocations: 15.98 kB / 1.342 GB, free: 0.8906 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.0003187/0.5526, allocations: 199.2 kB / 1.343 GB, free: 0.6875 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.801e-05/0.5527, allocations: 35.77 kB / 1.343 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.579e-05/0.5528, allocations: 39.34 kB / 1.343 GB, free: 0.6133 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5528, allocations: 0 / 1.343 GB, free: 0.6133 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.5528, allocations: 7.984 kB / 1.343 GB, free: 0.6055 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002447/0.553, allocations: 87.69 kB / 1.343 GB, free: 0.5195 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.805e-05/0.5531, allocations: 15.98 kB / 1.343 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004679/0.5535, allocations: 47.88 kB / 1.343 GB, free: 468 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.495e-05/0.5536, allocations: 23.91 kB / 1.343 GB, free: 444 kB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001977/0.5556, allocations: 0.7153 MB / 1.344 GB, free: 15.71 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001766/0.5574, allocations: 0.805 MB / 1.344 GB, free: 14.89 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008078/0.5582, allocations: 307.8 kB / 1.345 GB, free: 14.59 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004542/0.5586, allocations: 323.1 kB / 1.345 GB, free: 14.28 MB / 1.045 GB Notification: Performance of Backend: time 2.5e-07/0.5586, allocations: 0 / 1.345 GB, free: 14.28 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00189/0.5605, allocations: 0.6123 MB / 1.346 GB, free: 13.64 MB / 1.045 GB Notification: Performance of SimCode: time 0.001546/0.5621, allocations: 1.05 MB / 1.347 GB, free: 12.54 MB / 1.045 GB Notification: Performance of Templates: time 0.01842/0.5805, allocations: 9.974 MB / 1.356 GB, free: 2.629 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 400] 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: 10.476907543001289]