Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_12.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.001131/0.001131, allocations: 77.06 kB / 9.98 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001675/0.002807, allocations: 444 kB / 10.41 MB, free: 276 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.001117/0.001117, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001385/0.002501, allocations: 475.6 kB / 11.79 MB, free: 2.371 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.007/1.007, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09181/1.099, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.404/2.404, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2619/2.665, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Utilities.IO.Python_3_12.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_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python_3_12.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_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.8189 GB, free: 2.52 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.005e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange): time 0.001791/0.001811, allocations: 0.6104 MB / 0.8195 GB, free: 1.898 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001731/0.003542, allocations: 1.356 MB / 0.8208 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.709e-05/0.003569, allocations: 3.938 kB / 0.8208 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.258e-05/0.003622, allocations: 7.875 kB / 0.8208 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.598e-05/0.003638, allocations: 0 / 0.8208 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007148/0.004353, allocations: 291 kB / 0.8211 GB, free: 244 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.004513, allocations: 75.88 kB / 0.8212 GB, free: 168 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.72e-05/0.00455, allocations: 7.922 kB / 0.8212 GB, free: 160 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.054e-05/0.004641, allocations: 47.95 kB / 0.8212 GB, free: 112 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.816e-05/0.004729, allocations: 43.88 kB / 0.8213 GB, free: 68 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.004751, allocations: 4 kB / 0.8213 GB, free: 64 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004611/0.005212, allocations: 231.5 kB / 0.8215 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.654e-05/0.005248, allocations: 11.94 kB / 0.8215 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.00529, allocations: 8 kB / 0.8215 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.005663, allocations: 235.3 kB / 0.8218 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.331e-05/0.005676, allocations: 0 / 0.8218 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.82e-07/0.005677, allocations: 0 / 0.8218 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.005692, allocations: 0 / 0.8218 GB, free: 15.59 MB / 0.8073 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.0004956/0.006187, allocations: 369.6 kB / 0.8221 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.006222, allocations: 15.97 kB / 0.8221 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.031e-05/0.006292, allocations: 80.22 kB / 0.8222 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.006438, allocations: 197 kB / 0.8224 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/0.006488, allocations: 162.9 kB / 0.8225 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.878e-05/0.006557, allocations: 158.9 kB / 0.8227 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.184e-05/0.006609, allocations: 101.5 kB / 0.8228 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.006634, allocations: 75.47 kB / 0.8229 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.529e-05/0.006679, allocations: 158.7 kB / 0.823 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-05/0.006723, allocations: 154.6 kB / 0.8232 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.429e-05/0.006767, allocations: 154.5 kB / 0.8233 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.006985, allocations: 361.3 kB / 0.8236 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.71e-05/0.007062, allocations: 169.1 kB / 0.8238 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.526e-05/0.007088, allocations: 80.14 kB / 0.8239 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.007111, allocations: 79.28 kB / 0.824 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.007151, allocations: 109.8 kB / 0.8241 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.007152, allocations: 7.938 kB / 0.8241 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 8.273e-05/0.007235, allocations: 33.69 kB / 0.8241 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.007281, allocations: 126.7 kB / 0.8242 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.007404, allocations: 145.2 kB / 0.8244 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.007424, allocations: 25.7 kB / 0.8244 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.007474, allocations: 96.08 kB / 0.8245 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.007476, allocations: 0 / 0.8245 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.662e-05/0.007552, allocations: 41.67 kB / 0.8245 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.37e-05/0.007646, allocations: 314.8 kB / 0.8248 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.864e-05/0.007745, allocations: 72.5 kB / 0.8249 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.05e-05/0.007805, allocations: 61.67 kB / 0.825 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.54e-05/0.00789, allocations: 73.28 kB / 0.825 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.007893, allocations: 4 kB / 0.825 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002119/0.008105, allocations: 169.1 kB / 0.8252 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.267e-05/0.008157, allocations: 42.94 kB / 0.8252 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.008162, allocations: 3.938 kB / 0.8252 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.008176, allocations: 3.984 kB / 0.8252 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.874e-06/0.008178, allocations: 0 / 0.8252 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.008182, allocations: 3.984 kB / 0.8252 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.008338, allocations: 27.88 kB / 0.8253 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.008373, allocations: 19.98 kB / 0.8253 GB, free: 11.76 MB / 0.8073 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 0.0001162/0.008489, allocations: 192 kB / 0.8255 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.309e-05/0.008542, allocations: 104.9 kB / 0.8256 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.265e-05/0.008595, allocations: 116.5 kB / 0.8257 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.83e-05/0.008643, allocations: 180.3 kB / 0.8258 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.494e-05/0.008688, allocations: 180.2 kB / 0.826 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.873e-05/0.008737, allocations: 184.2 kB / 0.8262 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.008919, allocations: 325.4 kB / 0.8265 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.205e-05/0.008951, allocations: 105 kB / 0.8266 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.083e-05/0.008982, allocations: 108.9 kB / 0.8267 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.009022, allocations: 109.1 kB / 0.8268 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-05/0.009071, allocations: 184.3 kB / 0.827 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.261e-05/0.009124, allocations: 184.2 kB / 0.8272 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.175e-05/0.009175, allocations: 180.3 kB / 0.8273 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.122e-05/0.009227, allocations: 180.2 kB / 0.8275 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.009346, allocations: 303.8 kB / 0.8278 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.95e-05/0.009405, allocations: 184.2 kB / 0.828 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.009479, allocations: 101 kB / 0.8281 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/0.00954, allocations: 192.2 kB / 0.8283 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.009573, allocations: 101 kB / 0.8284 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.928e-05/0.009613, allocations: 24.83 kB / 0.8284 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.009613, allocations: 4 kB / 0.8284 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003788/0.009991, allocations: 75.67 kB / 0.8285 GB, free: 8.332 MB / 0.8073 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.0009308/0.01092, allocations: 0.503 MB / 0.8289 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001494/0.01107, allocations: 149.8 kB / 0.8291 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.01108, allocations: 0 / 0.8291 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.657e-06/0.01108, allocations: 3.938 kB / 0.8291 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.01128, allocations: 475.5 kB / 0.8295 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002211/0.0115, allocations: 218.8 kB / 0.8298 GB, free: 7.09 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.933e-05/0.01153, allocations: 55.34 kB / 0.8298 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.372e-05/0.01159, allocations: 51.86 kB / 0.8299 GB, free: 6.965 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.0117, allocations: 83.34 kB / 0.8299 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of SimCode: time 6.82e-07/0.0117, allocations: 0 / 0.8299 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of Templates: time 0.004186/0.01588, allocations: 3.194 MB / 0.8331 GB, free: 3.723 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.373539249412715]