Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001806/0.001806, 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.002222/0.002222, allocations: 212.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.526/1.526, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.299/3.299, allocations: 0.4892 GB / 0.7943 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_12_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_12_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.002059/0.002059, allocations: 71.14 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3651, allocations: 176.1 MB / 1.326 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001973/0.367, allocations: 0.5432 MB / 1.326 GB, free: 1.332 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.3689, allocations: 1.196 MB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.873e-05/0.369, allocations: 0 / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.741e-05/0.369, allocations: 3.984 kB / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.318e-05/0.3691, allocations: 0 / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000627/0.3697, allocations: 202.3 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.88e-05/0.3698, allocations: 11.98 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.3698, allocations: 4 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.86e-05/0.3698, allocations: 7.938 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.699e-05/0.3699, allocations: 11.98 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.3699, allocations: 3.938 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004138/0.3703, allocations: 211.6 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.599e-05/0.3703, allocations: 7.984 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.3704, allocations: 15.94 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.3707, allocations: 199.4 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3707, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3707, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.3707, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 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.0003783/0.3711, allocations: 293.8 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.3712, allocations: 12.03 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.42e-05/0.3712, allocations: 80.16 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.3714, allocations: 181.8 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-05/0.3715, allocations: 154.9 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.455e-05/0.3715, allocations: 150.9 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.494e-05/0.3716, allocations: 113.1 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/0.3717, allocations: 75.28 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.98e-05/0.3717, allocations: 154.6 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.731e-05/0.3718, allocations: 154.5 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.213e-05/0.3719, allocations: 154.6 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.3722, allocations: 401.6 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.3723, allocations: 165.1 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.559e-05/0.3724, allocations: 80.14 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.637e-05/0.3724, allocations: 75.28 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.14e-05/0.3725, allocations: 113.8 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.3725, allocations: 4 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.343e-05/0.3726, allocations: 29.64 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.644e-05/0.3727, allocations: 134.7 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.3728, allocations: 97.84 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.3728, allocations: 25.7 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.3729, allocations: 92.12 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.3729, allocations: 0 / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.3729, allocations: 17.7 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3731, allocations: 314.8 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.675e-05/0.3731, allocations: 4 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.194e-05/0.3731, allocations: 67.39 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.506e-05/0.3732, allocations: 28.88 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3732, allocations: 0 / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001458/0.3733, allocations: 57.64 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3734, allocations: 7.938 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3734, allocations: 4 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3734, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.3734, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3734, allocations: 3.938 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.542e-05/0.3735, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.3735, allocations: 8.031 kB / 1.331 GB, free: 12.08 MB / 1.029 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.0001164/0.3736, allocations: 189.6 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.521e-05/0.3737, allocations: 112.8 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.202e-05/0.3738, allocations: 104.1 kB / 1.331 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.891e-05/0.3739, allocations: 188.3 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001012/0.374, allocations: 184.3 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001133/0.3741, allocations: 180.3 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.3743, allocations: 356.9 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.49e-05/0.3744, allocations: 105 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.329e-05/0.3744, allocations: 108.9 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-05/0.3745, allocations: 180.3 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.692e-05/0.3746, allocations: 184.2 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.347e-05/0.3747, allocations: 180.2 kB / 1.333 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.099e-05/0.3748, allocations: 176.3 kB / 1.333 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.375, allocations: 311.9 kB / 1.333 GB, free: 9.418 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.375, allocations: 105 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.861e-05/0.3751, allocations: 188.1 kB / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.978e-05/0.3752, allocations: 109 kB / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.847e-05/0.3753, allocations: 180.2 kB / 1.334 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.672e-05/0.3753, allocations: 101 kB / 1.334 GB, free: 8.715 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.972e-05/0.3754, allocations: 79.28 kB / 1.334 GB, free: 8.637 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3754, allocations: 8 kB / 1.334 GB, free: 8.629 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003353/0.3757, allocations: 55.73 kB / 1.334 GB, free: 8.574 MB / 1.029 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.0009572/0.3767, allocations: 399 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.599e-05/0.3768, allocations: 15.92 kB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3768, allocations: 0 / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.3768, allocations: 0 / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.3772, allocations: 457.2 kB / 1.335 GB, free: 7.781 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000301/0.3775, allocations: 173.7 kB / 1.335 GB, free: 7.586 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.98e-05/0.3776, allocations: 55.36 kB / 1.335 GB, free: 7.512 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.827e-05/0.3777, allocations: 7.984 kB / 1.335 GB, free: 7.504 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.3777, allocations: 11.44 kB / 1.335 GB, free: 7.492 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3777, allocations: 4.062 kB / 1.335 GB, free: 7.488 MB / 1.029 GB Notification: Performance of Templates: time 0.00487/0.3826, allocations: 1.559 MB / 1.337 GB, free: 5.941 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.25310742482543]