Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.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.001819/0.001819, 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.002098/0.002098, allocations: 214.1 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.781 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.882/2.882, allocations: 475.9 MB / 0.7699 GB, free: 4.762 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.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") [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.0021/0.0021, allocations: 70.55 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3645, allocations: 170 MB / 1.283 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001911/0.3664, allocations: 0.5453 MB / 1.284 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001896/0.3683, allocations: 1.194 MB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.81e-05/0.3683, allocations: 4 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.24e-05/0.3684, allocations: 7.969 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.038e-05/0.3685, allocations: 3.938 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005579/0.369, allocations: 180.5 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.485e-05/0.3691, allocations: 19.92 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.417e-05/0.3691, allocations: 4 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.561e-05/0.3691, allocations: 11.92 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.662e-05/0.3692, allocations: 4 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.3692, allocations: 8 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003806/0.3696, allocations: 215.6 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.929e-05/0.3696, allocations: 0 / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.623e-05/0.3696, allocations: 11.94 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.3699, allocations: 199.4 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3699, allocations: 0 / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3699, allocations: 0 / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.3699, allocations: 0 / 1.285 GB, free: 9.594 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.0003546/0.3703, allocations: 293.8 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.3703, allocations: 12.03 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.092e-05/0.3704, allocations: 80.16 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.3705, allocations: 193.8 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.714e-05/0.3706, allocations: 150.9 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.545e-05/0.3707, allocations: 158.9 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.816e-05/0.3708, allocations: 105.1 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/0.3708, allocations: 75.28 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.094e-05/0.3709, allocations: 150.6 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.579e-05/0.3709, allocations: 158.5 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.126e-05/0.371, allocations: 150.6 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.3713, allocations: 397.6 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.3714, allocations: 173.1 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.95e-05/0.3714, allocations: 88.14 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.3714, allocations: 75.28 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.281e-05/0.3715, allocations: 109.8 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3715, allocations: 0 / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.609e-05/0.3716, allocations: 41.56 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.99e-05/0.3716, allocations: 126.7 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.3717, allocations: 97.86 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.3718, allocations: 29.7 kB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.3718, allocations: 88.11 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.432e-06/0.3718, allocations: 0 / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.3719, allocations: 21.72 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.372, allocations: 314.8 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.442e-05/0.372, allocations: 7.984 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.214e-05/0.3721, allocations: 59.41 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.004e-05/0.3721, allocations: 24.84 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3721, allocations: 0 / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001268/0.3723, allocations: 57.52 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3723, allocations: 11.94 kB / 1.288 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.3723, allocations: 0 / 1.288 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3723, allocations: 0 / 1.288 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-06/0.3723, allocations: 4.125 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.3723, allocations: 7.984 kB / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.801e-05/0.3724, allocations: 4 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.3724, allocations: 0 / 1.288 GB, free: 6.199 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 2 * 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 prepare postOptimizeDAE: time 0.0001098/0.3725, allocations: 189.1 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.697e-05/0.3726, allocations: 108.9 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.005e-05/0.3726, allocations: 116.1 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.871e-05/0.3727, allocations: 176.3 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-05/0.3728, allocations: 180.2 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.697e-05/0.3729, allocations: 184.3 kB / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.3731, allocations: 357 kB / 1.29 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.8e-05/0.3731, allocations: 108.9 kB / 1.29 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.546e-05/0.3732, allocations: 101 kB / 1.29 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.687e-05/0.3732, allocations: 188.2 kB / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.109e-05/0.3733, allocations: 184.2 kB / 1.29 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.779e-05/0.3734, allocations: 180.2 kB / 1.29 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.881e-05/0.3735, allocations: 184.2 kB / 1.291 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.3736, allocations: 303.8 kB / 1.291 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.269e-05/0.3737, allocations: 105 kB / 1.291 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.028e-05/0.3738, allocations: 184.2 kB / 1.291 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.817e-05/0.3739, allocations: 104.9 kB / 1.291 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.07e-05/0.374, allocations: 184.3 kB / 1.291 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.316e-05/0.374, allocations: 104.9 kB / 1.292 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.958e-05/0.3741, allocations: 87.27 kB / 1.292 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3741, allocations: 0 / 1.292 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003099/0.3744, allocations: 59.73 kB / 1.292 GB, free: 2.699 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.004847/0.3792, allocations: 401.8 kB / 1.292 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001563/0.3794, allocations: 4 kB / 1.292 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3794, allocations: 4 kB / 1.292 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.977e-06/0.3794, allocations: 0 / 1.292 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005706/0.3799, allocations: 455.7 kB / 1.293 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.3803, allocations: 168.2 kB / 1.293 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.426e-05/0.3804, allocations: 59.34 kB / 1.293 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001507/0.3805, allocations: 12 kB / 1.293 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.3806, allocations: 19.42 kB / 1.293 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of SimCode: time 8.31e-07/0.3806, allocations: 0 / 1.293 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of Templates: time 0.00551/0.3861, allocations: 1.538 MB / 1.294 GB, free: 92 kB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.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: 8.903415767475963]