Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001771/0.001771, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002173/0.002173, allocations: 214.2 kB / 22.24 MB, free: 5.262 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.877/2.877, allocations: 475.9 MB / 0.7699 GB, free: 4.809 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_11_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.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 69.22 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3389, allocations: 169.9 MB / 1.283 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002113/0.341, allocations: 0.5608 MB / 1.284 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002106/0.3431, allocations: 1.264 MB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.537e-05/0.3432, allocations: 0 / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.605e-05/0.3433, allocations: 7.938 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.087e-05/0.3433, allocations: 0 / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008676/0.3442, allocations: 299.2 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.3444, allocations: 79.8 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.204e-05/0.3444, allocations: 7.938 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.579e-05/0.3445, allocations: 39.91 kB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.752e-05/0.3446, allocations: 43.88 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.3446, allocations: 4 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004486/0.345, allocations: 219.6 kB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.052e-05/0.3451, allocations: 7.984 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.531e-05/0.3451, allocations: 27.86 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004421/0.3456, allocations: 267.2 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3456, allocations: 8 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3456, allocations: 0 / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3456, allocations: 0 / 1.286 GB, free: 9.184 MB / 0.9825 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.0004964/0.3461, allocations: 367.4 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.3461, allocations: 12.03 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.087e-05/0.3462, allocations: 84.17 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.3464, allocations: 193.8 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.576e-05/0.3465, allocations: 154.9 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-05/0.3465, allocations: 158.9 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.298e-05/0.3466, allocations: 113 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/0.3467, allocations: 75.28 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-05/0.3467, allocations: 158.6 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.274e-05/0.3468, allocations: 150.6 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.101e-05/0.3469, allocations: 154.6 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.3472, allocations: 413.5 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.3473, allocations: 173.1 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.143e-05/0.3473, allocations: 84.14 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.3474, allocations: 79.27 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.727e-05/0.3474, allocations: 105.8 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.3474, allocations: 0 / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001012/0.3475, allocations: 37.64 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/0.3476, allocations: 130.7 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.3478, allocations: 145.7 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.3478, allocations: 29.7 kB / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.3479, allocations: 92.08 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.3479, allocations: 0 / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.873e-05/0.348, allocations: 49.69 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3481, allocations: 314.8 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.3483, allocations: 101.6 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.3484, allocations: 101.6 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.3485, allocations: 94.52 kB / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3485, allocations: 0 / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000437/0.349, allocations: 272.9 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.244e-05/0.349, allocations: 45.62 kB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.349, allocations: 3.938 kB / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.349, allocations: 0 / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.349, allocations: 0 / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.349, allocations: 3.938 kB / 1.289 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/0.3494, allocations: 23.94 kB / 1.29 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/0.3494, allocations: 15.98 kB / 1.29 GB, free: 5.102 MB / 0.9825 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 (yI2[2],yI2[1],yI1[1]) * 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.000141/0.3495, allocations: 197.1 kB / 1.29 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.414e-05/0.3496, allocations: 116.9 kB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.071e-05/0.3497, allocations: 112.4 kB / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.842e-05/0.3498, allocations: 184.2 kB / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.05e-05/0.3498, allocations: 176.3 kB / 1.29 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.558e-05/0.3499, allocations: 180.3 kB / 1.29 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.3502, allocations: 373 kB / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.008e-05/0.3502, allocations: 109 kB / 1.291 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.055e-05/0.3503, allocations: 108.9 kB / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.572e-05/0.3503, allocations: 176.3 kB / 1.291 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.768e-05/0.3504, allocations: 188.1 kB / 1.291 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.381e-05/0.3505, allocations: 176.3 kB / 1.292 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.498e-05/0.3506, allocations: 184.2 kB / 1.292 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.3507, allocations: 311.8 kB / 1.292 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/0.3508, allocations: 108.9 kB / 1.292 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.908e-05/0.3509, allocations: 180.2 kB / 1.292 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.946e-05/0.351, allocations: 104.9 kB / 1.292 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.763e-05/0.3511, allocations: 192.2 kB / 1.293 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/0.3511, allocations: 101 kB / 1.293 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.529e-05/0.3512, allocations: 107.2 kB / 1.293 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3512, allocations: 0 / 1.293 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003631/0.3516, allocations: 71.75 kB / 1.293 GB, free: 1.531 MB / 0.9825 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.009759/0.3613, allocations: 425.9 kB / 1.293 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004614/0.3618, allocations: 189 kB / 1.293 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3618, allocations: 0 / 1.293 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.281e-06/0.3618, allocations: 0 / 1.293 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005181/0.3623, allocations: 461.9 kB / 1.294 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.3627, allocations: 216.2 kB / 1.294 GB, free: 304 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.039e-05/0.3628, allocations: 63.36 kB / 1.294 GB, free: 220 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.633e-05/0.3629, allocations: 51.81 kB / 1.294 GB, free: 168 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.207e-05/0.3629, allocations: 7.438 kB / 1.294 GB, free: 160 kB / 0.9825 GB Notification: Performance of SimCode: time 8.22e-07/0.3629, allocations: 4.062 kB / 1.294 GB, free: 156 kB / 0.9825 GB Notification: Performance of Templates: time 0.006889/0.3698, allocations: 2.77 MB / 1.297 GB, free: 13.42 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.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.086030259728432]