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.0007662/0.0007662, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001006/0.001772, allocations: 435.8 kB / 10.33 MB, free: 368 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.000695/0.000695, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008529/0.001548, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9506/0.9506, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09093/1.042, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.368/2.368, allocations: 446.7 MB / 0.6745 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2542/2.622, allocations: 145.9 MB / 0.817 GB, free: 4.234 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.533e-06/1.533e-06, allocations: 0 / 0.8183 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.888e-06/1.142e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange): time 0.0009852/0.0009966, allocations: 0.6084 MB / 0.8189 GB, free: 2.332 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.002178, allocations: 1.329 MB / 0.8202 GB, free: 0.9961 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.002201, allocations: 11.94 kB / 0.8202 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.169e-05/0.002243, allocations: 7.875 kB / 0.8202 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.124e-05/0.002254, allocations: 0 / 0.8202 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/0.002694, allocations: 279.1 kB / 0.8205 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.002819, allocations: 79.86 kB / 0.8205 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.599e-05/0.002855, allocations: 11.94 kB / 0.8205 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.795e-05/0.002913, allocations: 39.95 kB / 0.8206 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.333e-05/0.002976, allocations: 51.88 kB / 0.8206 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.002991, allocations: 4 kB / 0.8206 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000269/0.00326, allocations: 231.5 kB / 0.8209 GB, free: 300 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.657e-05/0.003287, allocations: 7.938 kB / 0.8209 GB, free: 292 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.148e-05/0.003318, allocations: 12 kB / 0.8209 GB, free: 280 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.003557, allocations: 235.3 kB / 0.8211 GB, free: 44 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.392e-05/0.00357, allocations: 0 / 0.8211 GB, free: 44 kB / 0.7917 GB Notification: Performance of FrontEnd: time 6.02e-07/0.003571, allocations: 4 kB / 0.8211 GB, free: 40 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.516e-05/0.003586, allocations: 0 / 0.8211 GB, free: 40 kB / 0.7917 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.0003575/0.003944, allocations: 369.8 kB / 0.8215 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.694e-05/0.003971, allocations: 8.625 kB / 0.8215 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.004026, allocations: 96.2 kB / 0.8216 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.004127, allocations: 193 kB / 0.8217 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/0.004164, allocations: 158.9 kB / 0.8219 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/0.004206, allocations: 154.9 kB / 0.822 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.221e-05/0.004248, allocations: 101.5 kB / 0.8221 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.004266, allocations: 79.47 kB / 0.8222 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.004298, allocations: 154.7 kB / 0.8224 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002317/0.00453, allocations: 158.5 kB / 0.8225 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.508e-05/0.004565, allocations: 150.6 kB / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.004723, allocations: 365.3 kB / 0.823 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.419e-05/0.004777, allocations: 165.1 kB / 0.8232 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.018e-05/0.004797, allocations: 84.14 kB / 0.8232 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.004813, allocations: 83.22 kB / 0.8233 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.004843, allocations: 105.8 kB / 0.8234 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.004844, allocations: 0 / 0.8234 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.327e-05/0.004897, allocations: 37.69 kB / 0.8235 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.004938, allocations: 126.7 kB / 0.8236 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.778e-05/0.005026, allocations: 149.3 kB / 0.8237 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.005041, allocations: 29.7 kB / 0.8238 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.005073, allocations: 88.09 kB / 0.8238 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.342e-06/0.005074, allocations: 0 / 0.8238 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/0.005125, allocations: 45.67 kB / 0.8239 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.675e-05/0.005191, allocations: 318.8 kB / 0.8242 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.514e-05/0.005257, allocations: 64.52 kB / 0.8242 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.216e-05/0.005299, allocations: 65.61 kB / 0.8243 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.65e-05/0.005355, allocations: 73.34 kB / 0.8244 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.005357, allocations: 0 / 0.8244 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000137/0.005494, allocations: 169 kB / 0.8245 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.924e-05/0.005533, allocations: 41.75 kB / 0.8246 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.005537, allocations: 3.938 kB / 0.8246 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.173e-06/0.005544, allocations: 4 kB / 0.8246 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.898e-06/0.005548, allocations: 0 / 0.8246 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.005552, allocations: 3.984 kB / 0.8246 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.005669, allocations: 19.83 kB / 0.8246 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.005696, allocations: 19.98 kB / 0.8246 GB, free: 12.22 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 8.059e-05/0.005777, allocations: 188 kB / 0.8248 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.00581, allocations: 112.9 kB / 0.8249 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.00584, allocations: 104.5 kB / 0.825 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.684e-05/0.005877, allocations: 196.2 kB / 0.8252 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4e-05/0.005917, allocations: 176.3 kB / 0.8254 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.43e-05/0.005951, allocations: 180.3 kB / 0.8255 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.006065, allocations: 333.4 kB / 0.8259 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.121e-05/0.006086, allocations: 101 kB / 0.826 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.058e-05/0.006106, allocations: 104.9 kB / 0.8261 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.006131, allocations: 109 kB / 0.8262 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.548e-05/0.006166, allocations: 176.5 kB / 0.8263 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.006202, allocations: 192.2 kB / 0.8265 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.18e-05/0.006234, allocations: 176.3 kB / 0.8267 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-05/0.006267, allocations: 184.2 kB / 0.8269 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.814e-05/0.006345, allocations: 311.7 kB / 0.8272 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.006385, allocations: 180.2 kB / 0.8273 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.345e-05/0.006429, allocations: 109 kB / 0.8274 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.006469, allocations: 184.2 kB / 0.8276 GB, free: 9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.006492, allocations: 101 kB / 0.8277 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.111e-05/0.006513, allocations: 20.84 kB / 0.8277 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.006513, allocations: 0 / 0.8277 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000194/0.006707, allocations: 75.67 kB / 0.8278 GB, free: 8.797 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.0007539/0.007461, allocations: 0.4984 MB / 0.8283 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001383/0.007599, allocations: 153.8 kB / 0.8284 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.007604, allocations: 7.938 kB / 0.8284 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/0.007605, allocations: 4 kB / 0.8284 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.007783, allocations: 467.4 kB / 0.8289 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002064/0.007989, allocations: 210.7 kB / 0.8291 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.915e-05/0.008018, allocations: 59.34 kB / 0.8291 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.091e-05/0.008069, allocations: 59.8 kB / 0.8292 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.905e-05/0.008168, allocations: 83.41 kB / 0.8293 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of SimCode: time 4.71e-07/0.008169, allocations: 4 kB / 0.8293 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of Templates: time 0.004045/0.01221, allocations: 3.183 MB / 0.8324 GB, free: 4.188 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.340968020260334]