Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.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.0009968/0.0009968, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004764/0.005761, 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.001027/0.001027, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005735/0.006762, 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 1.027/1.027, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09341/1.12, allocations: 53.64 MB / 243.2 MB, free: 15.6 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.818/1.818, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4846/2.303, allocations: 123.3 MB / 0.728 GB, free: 5.82 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.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.[0-9,]+.|yI1.[0-9,]+.|yR2.[0-9,]+.|yI2.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.[0-9,]+.|yI1.[0-9,]+.|yR2.[0-9,]+.|yI2.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 0.7293 GB, free: 4.551 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.823e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.543 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001314/0.001332, allocations: 0.6121 MB / 0.7299 GB, free: 3.953 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.002613, allocations: 1.334 MB / 0.7312 GB, free: 2.617 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.766e-05/0.002641, allocations: 0 / 0.7312 GB, free: 2.617 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.958e-05/0.002691, allocations: 15.86 kB / 0.7312 GB, free: 2.602 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.412e-05/0.002705, allocations: 0.6562 kB / 0.7312 GB, free: 2.602 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005304/0.003235, allocations: 279.2 kB / 0.7315 GB, free: 2.336 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.003366, allocations: 69.97 kB / 0.7316 GB, free: 2.273 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.775e-05/0.003404, allocations: 12.81 kB / 0.7316 GB, free: 2.262 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.01e-05/0.003474, allocations: 51.66 kB / 0.7316 GB, free: 2.215 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.927e-05/0.003543, allocations: 48.45 kB / 0.7317 GB, free: 2.172 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.003564, allocations: 0 / 0.7317 GB, free: 2.172 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003174/0.003881, allocations: 234.8 kB / 0.7319 GB, free: 1.945 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.885e-05/0.00391, allocations: 9.578 kB / 0.7319 GB, free: 1.938 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.003945, allocations: 12.66 kB / 0.7319 GB, free: 1.926 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.004209, allocations: 240 kB / 0.7321 GB, free: 1.691 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.268e-05/0.004222, allocations: 4 kB / 0.7322 GB, free: 1.688 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.31e-07/0.004222, allocations: 0.6562 kB / 0.7322 GB, free: 1.688 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.004234, allocations: 0 / 0.7322 GB, free: 1.688 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003508/0.004585, allocations: 367.4 kB / 0.7325 GB, free: 1.301 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.004613, allocations: 8.031 kB / 0.7325 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.452e-05/0.004668, allocations: 88.2 kB / 0.7326 GB, free: 1.207 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.004776, allocations: 197 kB / 0.7328 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.976e-05/0.004816, allocations: 154.9 kB / 0.7329 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.303e-05/0.004859, allocations: 155.6 kB / 0.7331 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.334e-05/0.004903, allocations: 102.9 kB / 0.7332 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.004922, allocations: 79.47 kB / 0.7333 GB, free: 0.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.838e-05/0.00496, allocations: 162.6 kB / 0.7334 GB, free: 348 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.746e-05/0.004998, allocations: 154.6 kB / 0.7336 GB, free: 192 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.765e-05/0.005036, allocations: 151.4 kB / 0.7337 GB, free: 40 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.005207, allocations: 365.3 kB / 0.734 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.458e-05/0.005271, allocations: 166 kB / 0.7342 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.149e-05/0.005293, allocations: 84.12 kB / 0.7343 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.005313, allocations: 79.78 kB / 0.7344 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.005346, allocations: 109.8 kB / 0.7345 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.005347, allocations: 1.469 kB / 0.7345 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 5.608e-05/0.005403, allocations: 33.69 kB / 0.7345 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.005446, allocations: 130.7 kB / 0.7346 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.684e-05/0.005543, allocations: 144.9 kB / 0.7348 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.005558, allocations: 30.92 kB / 0.7348 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.005594, allocations: 96.12 kB / 0.7349 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.223e-06/0.005596, allocations: 0 / 0.7349 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.837e-05/0.005644, allocations: 38.36 kB / 0.7349 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.956e-05/0.005713, allocations: 318.8 kB / 0.7352 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.911e-05/0.005783, allocations: 65.47 kB / 0.7353 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.402e-05/0.005827, allocations: 69.61 kB / 0.7354 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.811e-05/0.005885, allocations: 69.89 kB / 0.7354 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.005887, allocations: 0 / 0.7354 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001415/0.006028, allocations: 170.1 kB / 0.7356 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/0.006066, allocations: 43.66 kB / 0.7356 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.006071, allocations: 0.6875 kB / 0.7356 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.086e-06/0.006079, allocations: 0 / 0.7356 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.937e-06/0.006083, allocations: 5.781 kB / 0.7356 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.006085, allocations: 0 / 0.7356 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.006202, allocations: 27.88 kB / 0.7357 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.006224, allocations: 15.98 kB / 0.7357 GB, free: 13.89 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: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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 8.772e-05/0.006312, allocations: 200.9 kB / 0.7359 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.006349, allocations: 105 kB / 0.736 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.724e-05/0.006386, allocations: 104.5 kB / 0.7361 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.291e-05/0.006429, allocations: 182.3 kB / 0.7362 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.116e-05/0.00647, allocations: 188.2 kB / 0.7364 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.23e-05/0.006512, allocations: 184.1 kB / 0.7366 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.006635, allocations: 325.4 kB / 0.7369 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-05/0.006659, allocations: 105 kB / 0.737 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.312e-05/0.006682, allocations: 105.7 kB / 0.7371 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.006712, allocations: 105 kB / 0.7372 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.926e-05/0.006751, allocations: 181 kB / 0.7374 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-05/0.006792, allocations: 180.3 kB / 0.7375 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.915e-05/0.006832, allocations: 180.8 kB / 0.7377 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.989e-05/0.006871, allocations: 180.2 kB / 0.7379 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.475e-05/0.006966, allocations: 321.6 kB / 0.7382 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.007019, allocations: 176.3 kB / 0.7384 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.007168, allocations: 105 kB / 0.7385 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.007209, allocations: 180.2 kB / 0.7386 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.00723, allocations: 101 kB / 0.7387 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.383e-05/0.007254, allocations: 26.22 kB / 0.7388 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.007254, allocations: 0 / 0.7388 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002197/0.007474, allocations: 75.67 kB / 0.7388 GB, free: 10.47 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0009248/0.008398, allocations: 493.6 kB / 0.7393 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001434/0.008542, allocations: 165 kB / 0.7395 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.008547, allocations: 4 kB / 0.7395 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.644e-06/0.00855, allocations: 7.984 kB / 0.7395 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.008732, allocations: 463.6 kB / 0.7399 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002481/0.00898, allocations: 213 kB / 0.7401 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.672e-05/0.009007, allocations: 55.36 kB / 0.7402 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.17e-05/0.009058, allocations: 55.8 kB / 0.7402 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.00917, allocations: 93.8 kB / 0.7403 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of SimCode: time 5.71e-07/0.00917, allocations: 0 / 0.7403 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of Templates: time 0.004347/0.01352, allocations: 3.199 MB / 0.7434 GB, free: 6.031 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.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.932966387830675]