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.001601/0.001601, allocations: 79.83 kB / 19.18 MB, free: 2.516 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.001843/0.001843, allocations: 162.6 kB / 22.46 MB, free: 5.375 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.585/1.585, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.999/2.999, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.55e-05/3.783e-05, allocations: 6.219 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.0042/0.004238, allocations: 2.085 MB / 0.9835 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003626/0.007864, allocations: 1.74 MB / 0.9852 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.007996, allocations: 4 kB / 0.9852 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000814/0.00881, allocations: 198.8 kB / 0.9854 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001624/0.008973, allocations: 67.36 kB / 0.9854 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.01024, allocations: 432.5 kB / 0.9858 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006065/0.01084, allocations: 418.6 kB / 0.9862 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.01096, allocations: 24.47 kB / 0.9863 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003007/0.01126, allocations: 203.6 kB / 0.9864 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002609/0.01152, allocations: 131.7 kB / 0.9866 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.589e-05/0.0116, allocations: 28 kB / 0.9866 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005326/0.01213, allocations: 259.5 kB / 0.9868 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002057/0.01234, allocations: 123.6 kB / 0.987 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.01251, allocations: 111.7 kB / 0.9871 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009782/0.01349, allocations: 0.6349 MB / 0.9877 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.01349, allocations: 0 / 0.9877 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.784e-06/0.01349, allocations: 3.938 kB / 0.9877 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.0135, allocations: 0 / 0.9877 GB, free: 5.555 MB / 0.9356 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.001405/0.01491, allocations: 0.6383 MB / 0.9883 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.01495, allocations: 12.03 kB / 0.9883 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/0.01687, allocations: 156.6 kB / 0.9885 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006172/0.01749, allocations: 316 kB / 0.9888 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/0.01768, allocations: 127.3 kB / 0.9889 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.01772, allocations: 12.38 kB / 0.9889 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.019, allocations: 420.2 kB / 0.9893 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.01902, allocations: 4.188 kB / 0.9893 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/0.01906, allocations: 4.125 kB / 0.9893 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.01907, allocations: 4 kB / 0.9893 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/0.02093, allocations: 0.5893 MB / 0.9899 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/0.02304, allocations: 0.9057 MB / 0.9908 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005356/0.0284, allocations: 0.8416 MB / 0.9916 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008153/0.02921, allocations: 300.6 kB / 0.9919 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.02924, allocations: 0 / 0.9919 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001126/0.03037, allocations: 439 kB / 0.9923 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.03037, allocations: 0 / 0.9923 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002884/0.03325, allocations: 0.9174 MB / 0.9932 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/0.03332, allocations: 59.41 kB / 0.9933 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006311/0.03395, allocations: 429.6 kB / 0.9937 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.724e-05/0.03402, allocations: 29.7 kB / 0.9937 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.03422, allocations: 172.1 kB / 0.9939 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.879e-05/0.03431, allocations: 55.52 kB / 0.9939 GB, free: 15 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.03447, allocations: 53.67 kB / 0.994 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002509/0.03472, allocations: 350.7 kB / 0.9943 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.03581, allocations: 397.4 kB / 0.9947 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.03687, allocations: 405.4 kB / 0.9951 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/0.0386, allocations: 0.602 MB / 0.9957 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.769e-06/0.03861, allocations: 3.938 kB / 0.9957 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002344/0.04095, allocations: 0.9299 MB / 0.9966 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.118e-05/0.04102, allocations: 41.69 kB / 0.9966 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.04103, allocations: 0 / 0.9966 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.04105, allocations: 0 / 0.9966 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004914/0.04154, allocations: 71.86 kB / 0.9967 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.04155, allocations: 0 / 0.9967 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004311/0.04198, allocations: 39.95 kB / 0.9967 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/0.04204, allocations: 15.98 kB / 0.9967 GB, free: 12.05 MB / 0.9512 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.0003089/0.04235, allocations: 189.7 kB / 0.9969 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-05/0.04243, allocations: 35.77 kB / 0.9969 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.926e-05/0.04251, allocations: 35.41 kB / 0.997 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.04252, allocations: 11.92 kB / 0.997 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.04253, allocations: 0 / 0.997 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.04253, allocations: 0 / 0.997 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006298/0.04316, allocations: 429 kB / 0.9974 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.04317, allocations: 11.88 kB / 0.9974 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004675/0.04363, allocations: 67.91 kB / 0.9975 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.04364, allocations: 0 / 0.9975 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.04367, allocations: 7.984 kB / 0.9975 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.04367, allocations: 0 / 0.9975 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.04367, allocations: 0 / 0.9975 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.04553, allocations: 0.6528 MB / 0.9981 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002277/0.04576, allocations: 91.64 kB / 0.9982 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.867e-05/0.04582, allocations: 11.92 kB / 0.9982 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000445/0.04627, allocations: 43.95 kB / 0.9983 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.825e-05/0.04637, allocations: 23.95 kB / 0.9983 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.0464, allocations: 7.984 kB / 0.9983 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004586/0.04686, allocations: 319.1 kB / 0.9986 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.04686, allocations: 3.938 kB / 0.9986 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004262/0.04729, allocations: 83.92 kB / 0.9987 GB, free: 10 MB / 0.9512 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.0003263/0.04761, allocations: 139.1 kB / 0.9988 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002085/0.0497, allocations: 0.7845 MB / 0.9996 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.0497, allocations: 0 / 0.9996 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009136/0.05062, allocations: 323.7 kB / 0.9999 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/0.05112, allocations: 81.31 kB / 1 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.05314, allocations: 0.81 MB / 1.001 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.05339, allocations: 202.1 kB / 1.001 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003846/0.05377, allocations: 102.2 kB / 1.001 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.05393, allocations: 36.47 kB / 1.001 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of SimCode: time 1.823e-06/0.05393, allocations: 0 / 1.001 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of Templates: time 0.01652/0.07045, allocations: 7.469 MB / 1.008 GB, free: 108 kB / 0.9512 GB " [Timeout remaining time 300] 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/jenkins/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: 9.225348319858313]