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.001818/0.001818, allocations: 92.7 kB / 19.44 MB, free: 324 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.002007/0.002007, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.753/1.753, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.342/3.342, allocations: 429.6 MB / 0.673 GB, free: 3.898 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.443e-06/1.443e-06, allocations: 0 / 0.8776 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.409e-05/3.554e-05, allocations: 5.812 kB / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004155/0.004191, allocations: 2.086 MB / 0.8796 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003331/0.007522, allocations: 1.756 MB / 0.8813 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.007638, allocations: 4 kB / 0.8813 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0007764/0.008414, allocations: 194.8 kB / 0.8815 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.008715, allocations: 71.3 kB / 0.8816 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.009923, allocations: 422.9 kB / 0.882 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006862/0.01061, allocations: 422.5 kB / 0.8824 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.01073, allocations: 20.58 kB / 0.8824 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003205/0.01105, allocations: 207.6 kB / 0.8826 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.01131, allocations: 127.7 kB / 0.8827 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.763e-05/0.01138, allocations: 28 kB / 0.8828 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005319/0.01191, allocations: 263.5 kB / 0.883 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.01212, allocations: 123.6 kB / 0.8831 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.0123, allocations: 111.7 kB / 0.8832 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0009339/0.01324, allocations: 0.6349 MB / 0.8839 GB, free: 88 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.01324, allocations: 0 / 0.8839 GB, free: 88 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.312e-06/0.01324, allocations: 4 kB / 0.8839 GB, free: 84 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.01325, allocations: 0 / 0.8839 GB, free: 84 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.001463/0.01471, allocations: 0.6383 MB / 0.8845 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.01475, allocations: 11.97 kB / 0.8845 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002139/0.01689, allocations: 196.4 kB / 0.8847 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005675/0.01746, allocations: 316 kB / 0.885 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/0.01764, allocations: 131.3 kB / 0.8851 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.214e-05/0.01769, allocations: 8.375 kB / 0.8851 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.01889, allocations: 425.9 kB / 0.8855 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.0189, allocations: 192 / 0.8855 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.479e-05/0.01895, allocations: 12.12 kB / 0.8855 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.01895, allocations: 4 kB / 0.8855 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/0.02083, allocations: 0.5932 MB / 0.8861 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/0.02321, allocations: 0.9293 MB / 0.887 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005491/0.0287, allocations: 0.8649 MB / 0.8879 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008671/0.02957, allocations: 308.6 kB / 0.8882 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.0296, allocations: 4 kB / 0.8882 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001373/0.03098, allocations: 435 kB / 0.8886 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 3.517e-06/0.03098, allocations: 0 / 0.8886 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.003076/0.03406, allocations: 0.9649 MB / 0.8895 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.235e-05/0.03413, allocations: 59.39 kB / 0.8896 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007309/0.03486, allocations: 425.6 kB / 0.89 GB, free: 9.637 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.03496, allocations: 37.69 kB / 0.89 GB, free: 9.594 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.03516, allocations: 168 kB / 0.8902 GB, free: 9.426 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.738e-05/0.03525, allocations: 59.52 kB / 0.8902 GB, free: 9.367 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.03543, allocations: 57.67 kB / 0.8903 GB, free: 9.305 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002203/0.03565, allocations: 342.8 kB / 0.8906 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009994/0.03665, allocations: 413.4 kB / 0.891 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009983/0.03765, allocations: 411.8 kB / 0.8914 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/0.0394, allocations: 0.6154 MB / 0.892 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.03941, allocations: 3.938 kB / 0.892 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002372/0.04178, allocations: 0.9675 MB / 0.893 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.554e-05/0.04186, allocations: 41.69 kB / 0.893 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.04186, allocations: 0 / 0.893 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.04189, allocations: 3.984 kB / 0.893 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/0.04243, allocations: 71.91 kB / 0.8931 GB, free: 6.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.04244, allocations: 0 / 0.8931 GB, free: 6.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/0.04292, allocations: 43.89 kB / 0.8931 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.566e-05/0.04297, allocations: 15.98 kB / 0.8931 GB, free: 6.352 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.0003009/0.04328, allocations: 193.7 kB / 0.8933 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.04341, allocations: 39.77 kB / 0.8933 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.412e-05/0.04351, allocations: 43.41 kB / 0.8934 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/0.04351, allocations: 7.984 kB / 0.8934 GB, free: 6.059 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.04352, allocations: 0 / 0.8934 GB, free: 6.059 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.04352, allocations: 0 / 0.8934 GB, free: 6.059 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006832/0.04421, allocations: 436.9 kB / 0.8938 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.04422, allocations: 3.938 kB / 0.8938 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005295/0.04475, allocations: 71.91 kB / 0.8939 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.04475, allocations: 0 / 0.8939 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.04478, allocations: 7.984 kB / 0.8939 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.04479, allocations: 0 / 0.8939 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.04479, allocations: 3.938 kB / 0.8939 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.04678, allocations: 0.6917 MB / 0.8946 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.04702, allocations: 87.69 kB / 0.8947 GB, free: 4.719 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.343e-05/0.04709, allocations: 7.984 kB / 0.8947 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005179/0.04761, allocations: 47.94 kB / 0.8947 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.04772, allocations: 15.97 kB / 0.8947 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-05/0.04777, allocations: 15.98 kB / 0.8947 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004382/0.0482, allocations: 319.1 kB / 0.895 GB, free: 4.32 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.0482, allocations: 0 / 0.895 GB, free: 4.32 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004181/0.04862, allocations: 75.94 kB / 0.8951 GB, free: 4.246 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.0003322/0.04895, allocations: 135.1 kB / 0.8952 GB, free: 4.105 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002232/0.05119, allocations: 0.7974 MB / 0.896 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.05119, allocations: 0 / 0.896 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0009175/0.05211, allocations: 327.7 kB / 0.8963 GB, free: 2.969 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005378/0.05264, allocations: 115.4 kB / 0.8964 GB, free: 2.859 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.05479, allocations: 0.8173 MB / 0.8972 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.05507, allocations: 206.1 kB / 0.8974 GB, free: 1.793 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000434/0.05551, allocations: 102.2 kB / 0.8975 GB, free: 1.691 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.0557, allocations: 40.47 kB / 0.8976 GB, free: 1.652 MB / 0.8542 GB Notification: Performance of SimCode: time 5.51e-07/0.0557, allocations: 0 / 0.8976 GB, free: 1.652 MB / 0.8542 GB Notification: Performance of Templates: time 0.01829/0.07399, allocations: 7.678 MB / 0.9051 GB, free: 10.08 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 800] 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.12310951098334]