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.001889/0.001889, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 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.002428/0.002428, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.66/1.66, allocations: 177.1 MB / 203.1 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] 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 3.483/3.483, allocations: 429.5 MB / 0.6729 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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: 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_latest_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_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8774 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.182e-05/3.344e-05, allocations: 6 kB / 0.8774 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004758/0.004791, allocations: 2.161 MB / 0.8795 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00358/0.008371, allocations: 1.842 MB / 0.8813 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.0085, allocations: 5.125 kB / 0.8814 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0008202/0.009321, allocations: 202.7 kB / 0.8815 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.009484, allocations: 63.36 kB / 0.8816 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.01073, allocations: 434.8 kB / 0.882 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006354/0.01137, allocations: 414.6 kB / 0.8824 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.0115, allocations: 28.52 kB / 0.8824 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003034/0.0118, allocations: 203.6 kB / 0.8826 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.01205, allocations: 127.7 kB / 0.8828 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.658e-05/0.01212, allocations: 28 kB / 0.8828 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005363/0.01266, allocations: 271.5 kB / 0.883 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001844/0.01284, allocations: 111.7 kB / 0.8832 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.01303, allocations: 115.7 kB / 0.8833 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.01432, allocations: 0.6388 MB / 0.8839 GB, free: 96 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.01432, allocations: 0 / 0.8839 GB, free: 96 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.753e-06/0.01432, allocations: 0 / 0.8839 GB, free: 96 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.363e-06/0.01433, allocations: 0 / 0.8839 GB, free: 96 kB / 0.8386 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.00152/0.01585, allocations: 0.7498 MB / 0.8846 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.0159, allocations: 8.031 kB / 0.8846 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/0.0178, allocations: 180.5 kB / 0.8848 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005901/0.01839, allocations: 298.8 kB / 0.8851 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.01856, allocations: 127.4 kB / 0.8852 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.745e-05/0.01862, allocations: 16.36 kB / 0.8852 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007522/0.01937, allocations: 240.3 kB / 0.8854 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.01939, allocations: 8.156 kB / 0.8855 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/0.01943, allocations: 8.125 kB / 0.8855 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.01943, allocations: 4 kB / 0.8855 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009846/0.02042, allocations: 243.8 kB / 0.8857 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/0.02231, allocations: 0.7253 MB / 0.8864 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004045/0.02635, allocations: 0.4948 MB / 0.8869 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000496/0.02685, allocations: 131.6 kB / 0.887 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.02688, allocations: 4 kB / 0.887 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000774/0.02765, allocations: 264.8 kB / 0.8873 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 2.855e-06/0.02766, allocations: 0 / 0.8873 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.001845/0.0295, allocations: 465.1 kB / 0.8877 GB, free: 12 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.02956, allocations: 59.41 kB / 0.8878 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007234/0.03029, allocations: 0.491 MB / 0.8883 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.761e-05/0.03035, allocations: 37.69 kB / 0.8883 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003033/0.03066, allocations: 250.8 kB / 0.8885 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.223e-05/0.03075, allocations: 55.56 kB / 0.8886 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.03092, allocations: 63.33 kB / 0.8886 GB, free: 11 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003653/0.03128, allocations: 0.5548 MB / 0.8892 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000619/0.0319, allocations: 213.5 kB / 0.8894 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005831/0.03248, allocations: 213.6 kB / 0.8896 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.0335, allocations: 323.5 kB / 0.8899 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.0335, allocations: 3.938 kB / 0.8899 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001813/0.03531, allocations: 0.6099 MB / 0.8905 GB, free: 9.051 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.654e-05/0.03538, allocations: 37.69 kB / 0.8905 GB, free: 9.008 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.03539, allocations: 4 kB / 0.8905 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.03541, allocations: 4 kB / 0.8905 GB, free: 9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.03584, allocations: 51.89 kB / 0.8906 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.03585, allocations: 3.984 kB / 0.8906 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003445/0.03619, allocations: 27.88 kB / 0.8906 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-05/0.03626, allocations: 19.98 kB / 0.8906 GB, free: 8.898 MB / 0.8542 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.0002594/0.03652, allocations: 185 kB / 0.8908 GB, free: 8.707 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.03662, allocations: 43.8 kB / 0.8909 GB, free: 8.664 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.807e-05/0.0367, allocations: 31.41 kB / 0.8909 GB, free: 8.633 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.03671, allocations: 4 kB / 0.8909 GB, free: 8.629 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.03671, allocations: 3.938 kB / 0.8909 GB, free: 8.625 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.03672, allocations: 0 / 0.8909 GB, free: 8.625 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005666/0.03728, allocations: 368.3 kB / 0.8912 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.03729, allocations: 11.86 kB / 0.8913 GB, free: 8.219 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/0.0377, allocations: 47.95 kB / 0.8913 GB, free: 8.172 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.0377, allocations: 0 / 0.8913 GB, free: 8.172 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.972e-05/0.03774, allocations: 15.97 kB / 0.8913 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.03774, allocations: 0 / 0.8913 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.03775, allocations: 4 kB / 0.8913 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.03896, allocations: 382.8 kB / 0.8917 GB, free: 7.758 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002591/0.03922, allocations: 95.55 kB / 0.8918 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.224e-05/0.03928, allocations: 4 kB / 0.8918 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000379/0.03966, allocations: 27.97 kB / 0.8918 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.441e-05/0.03976, allocations: 23.97 kB / 0.8918 GB, free: 7.609 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/0.0398, allocations: 11.97 kB / 0.8918 GB, free: 7.598 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004096/0.04021, allocations: 327.1 kB / 0.8922 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.04021, allocations: 0 / 0.8922 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003998/0.04061, allocations: 83.94 kB / 0.8922 GB, free: 7.195 MB / 0.8542 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.0002971/0.0409, allocations: 127.1 kB / 0.8924 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.04221, allocations: 456.5 kB / 0.8928 GB, free: 6.594 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.04222, allocations: 0 / 0.8928 GB, free: 6.594 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005596/0.04278, allocations: 163.5 kB / 0.8929 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.04326, allocations: 113.4 kB / 0.8931 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.04479, allocations: 0.5848 MB / 0.8936 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.04505, allocations: 194.1 kB / 0.8938 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003762/0.04542, allocations: 86.23 kB / 0.8939 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.04558, allocations: 44.41 kB / 0.8939 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of SimCode: time 9.72e-07/0.04559, allocations: 0 / 0.8939 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of Templates: time 0.01581/0.06139, allocations: 7.676 MB / 0.9014 GB, free: 13.8 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 240] 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: 9.135598065913655]