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.001008/0.001008, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001224/0.002232, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001092/0.001092, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001371/0.002463, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9505/0.9505, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08737/1.038, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.726/1.726, allocations: 378.2 MB / 0.6076 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4117/2.137, allocations: 123.3 MB / 0.728 GB, free: 5.828 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|cooCap.EIR.[0-9,]+.",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.[0-9,]+.|cooCap.EIR.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7293 GB, free: 4.543 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.702e-05, allocations: 4.984 kB / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003325/0.003342, allocations: 2.216 MB / 0.7315 GB, free: 2.344 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002833/0.006176, allocations: 1.888 MB / 0.7333 GB, free: 480 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.751e-05/0.006273, allocations: 4 kB / 0.7333 GB, free: 476 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00049/0.006763, allocations: 208.3 kB / 0.7335 GB, free: 268 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.006889, allocations: 68.11 kB / 0.7336 GB, free: 200 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008142/0.007703, allocations: 424.2 kB / 0.734 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004235/0.008126, allocations: 428.1 kB / 0.7344 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.623e-05/0.008192, allocations: 30.53 kB / 0.7345 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/0.008497, allocations: 246.7 kB / 0.7347 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.008627, allocations: 133.3 kB / 0.7348 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.008663, allocations: 24 kB / 0.7348 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002903/0.008953, allocations: 279.4 kB / 0.7351 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.292e-05/0.009036, allocations: 99.7 kB / 0.7352 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.827e-05/0.009114, allocations: 77.06 kB / 0.7353 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.009448, allocations: 378.9 kB / 0.7356 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.176e-05/0.00946, allocations: 0 / 0.7356 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.62e-07/0.009461, allocations: 5.031 kB / 0.7356 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.549e-05/0.009476, allocations: 0 / 0.7356 GB, free: 14.12 MB / 0.7136 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.000689/0.01017, allocations: 0.6531 MB / 0.7363 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.587e-05/0.01019, allocations: 8.719 kB / 0.7363 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000691/0.01088, allocations: 233.8 kB / 0.7365 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.0111, allocations: 240.1 kB / 0.7367 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.416e-05/0.01118, allocations: 128 kB / 0.7369 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.01121, allocations: 14.56 kB / 0.7369 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.01149, allocations: 171.2 kB / 0.737 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.0115, allocations: 2.969 kB / 0.737 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.01152, allocations: 12.12 kB / 0.737 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.01153, allocations: 3.938 kB / 0.7371 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.01165, allocations: 55.95 kB / 0.7371 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005937/0.01224, allocations: 408.4 kB / 0.7375 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.0136, allocations: 445 kB / 0.7379 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.623e-05/0.01368, allocations: 40.84 kB / 0.738 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.01369, allocations: 4 kB / 0.738 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.01387, allocations: 149.2 kB / 0.7381 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.01387, allocations: 7.938 kB / 0.7381 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0002612/0.01413, allocations: 163.2 kB / 0.7383 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.01416, allocations: 55.41 kB / 0.7383 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.01433, allocations: 303.4 kB / 0.7386 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.01436, allocations: 33.7 kB / 0.7386 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.01442, allocations: 125 kB / 0.7388 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.01446, allocations: 55.52 kB / 0.7388 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.469e-05/0.01453, allocations: 49.81 kB / 0.7389 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.737e-05/0.01461, allocations: 342.8 kB / 0.7392 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.01473, allocations: 107.5 kB / 0.7393 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.646e-05/0.01482, allocations: 104.8 kB / 0.7394 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.01497, allocations: 144.1 kB / 0.7395 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.01497, allocations: 0.7188 kB / 0.7395 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002499/0.01522, allocations: 270 kB / 0.7398 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.01525, allocations: 46.69 kB / 0.7398 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.01526, allocations: 0 / 0.7398 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.692e-06/0.01526, allocations: 0.5938 kB / 0.7398 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.01546, allocations: 52.7 kB / 0.7399 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.01546, allocations: 4.562 kB / 0.7399 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.01557, allocations: 29.69 kB / 0.7399 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.0156, allocations: 15.97 kB / 0.7399 GB, free: 9.527 MB / 0.7136 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 9.404e-05/0.01569, allocations: 125.5 kB / 0.7401 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.83e-05/0.01573, allocations: 31.91 kB / 0.7401 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.194e-05/0.01577, allocations: 32.34 kB / 0.7401 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01577, allocations: 4 kB / 0.7401 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.01577, allocations: 1.062 kB / 0.7401 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.01578, allocations: 0 / 0.7401 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.01608, allocations: 193.7 kB / 0.7403 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01608, allocations: 5 kB / 0.7403 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.01624, allocations: 56.98 kB / 0.7404 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.439e-05/0.01632, allocations: 55.67 kB / 0.7404 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.984e-06/0.01633, allocations: 4.969 kB / 0.7404 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.01634, allocations: 11.98 kB / 0.7404 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01635, allocations: 0 / 0.7404 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01635, allocations: 4.875 kB / 0.7404 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.01654, allocations: 158.5 kB / 0.7406 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.726e-05/0.01658, allocations: 15.92 kB / 0.7406 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.0167, allocations: 25.86 kB / 0.7406 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.01674, allocations: 19.95 kB / 0.7406 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.01676, allocations: 7.984 kB / 0.7407 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.538e-05/0.01684, allocations: 125.8 kB / 0.7408 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01684, allocations: 0 / 0.7408 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001833/0.01702, allocations: 79.94 kB / 0.7408 GB, free: 8.551 MB / 0.7136 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.0001452/0.01717, allocations: 125.2 kB / 0.741 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002669/0.01744, allocations: 242.3 kB / 0.7412 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.01744, allocations: 4 kB / 0.7412 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.568e-05/0.01753, allocations: 62.19 kB / 0.7413 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.01775, allocations: 128.3 kB / 0.7414 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.02044, allocations: 0.5542 MB / 0.7419 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.969e-05/0.0205, allocations: 108.3 kB / 0.742 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001768/0.02068, allocations: 65.62 kB / 0.7421 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/0.0209, allocations: 133.2 kB / 0.7422 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of SimCode: time 7.22e-07/0.0209, allocations: 0.9688 kB / 0.7422 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of Templates: time 0.009156/0.03006, allocations: 8.556 MB / 0.7506 GB, free: 14.76 MB / 0.7292 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource/Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7897520968690515]