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.001563/0.001563, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001485/0.001485, allocations: 158.2 kB / 22.45 MB, free: 5.375 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.448/1.448, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.709/2.709, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.267e-05, allocations: 2.281 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001545/0.001568, allocations: 0.5396 MB / 0.9515 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001683/0.003251, allocations: 1.204 MB / 0.9527 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.902e-05/0.00327, allocations: 0 / 0.9527 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.67e-05/0.003357, allocations: 8 kB / 0.9527 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.099e-05/0.003398, allocations: 3.938 kB / 0.9527 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005677/0.003966, allocations: 191.3 kB / 0.9529 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.905e-05/0.004035, allocations: 15.97 kB / 0.9529 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.1e-05/0.004066, allocations: 0 / 0.9529 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.816e-05/0.004104, allocations: 15.98 kB / 0.9529 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.662e-05/0.00414, allocations: 4 kB / 0.9529 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.004156, allocations: 0 / 0.9529 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003828/0.004538, allocations: 219.4 kB / 0.9531 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.64e-05/0.004575, allocations: 4 kB / 0.9531 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.004599, allocations: 11.94 kB / 0.9531 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003383/0.004938, allocations: 219.4 kB / 0.9533 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.00494, allocations: 0 / 0.9533 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.41e-07/0.004941, allocations: 0 / 0.9533 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.425e-06/0.00495, allocations: 0 / 0.9533 GB, free: 9.145 MB / 0.8575 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.0003574/0.005307, allocations: 297.8 kB / 0.9536 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.005341, allocations: 8.031 kB / 0.9536 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.833e-05/0.005409, allocations: 80.22 kB / 0.9537 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.005561, allocations: 189 kB / 0.9539 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.918e-05/0.00563, allocations: 154.9 kB / 0.954 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.179e-05/0.005702, allocations: 158.9 kB / 0.9542 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.885e-05/0.005771, allocations: 109.5 kB / 0.9543 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.967e-05/0.00581, allocations: 75.47 kB / 0.9543 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.481e-05/0.005875, allocations: 166.6 kB / 0.9545 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.933e-05/0.005935, allocations: 150.6 kB / 0.9546 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.411e-05/0.005999, allocations: 150.6 kB / 0.9548 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/0.006283, allocations: 401.6 kB / 0.9552 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.85e-05/0.006381, allocations: 169.1 kB / 0.9553 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.051e-05/0.006422, allocations: 80.14 kB / 0.9554 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.006456, allocations: 79.22 kB / 0.9555 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/0.006504, allocations: 105.8 kB / 0.9556 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.006505, allocations: 8 kB / 0.9556 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.298e-05/0.006578, allocations: 25.7 kB / 0.9556 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.006645, allocations: 130.6 kB / 0.9557 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.006779, allocations: 109.8 kB / 0.9558 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.006798, allocations: 25.7 kB / 0.9559 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.006842, allocations: 80.19 kB / 0.9559 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.006844, allocations: 0 / 0.9559 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.006892, allocations: 29.7 kB / 0.956 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.007022, allocations: 310.8 kB / 0.9563 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.382e-05/0.007045, allocations: 4 kB / 0.9563 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.331e-05/0.007109, allocations: 75.33 kB / 0.9563 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.038e-05/0.007159, allocations: 20.84 kB / 0.9564 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.007161, allocations: 0 / 0.9564 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001332/0.007294, allocations: 53.69 kB / 0.9564 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.007306, allocations: 4 kB / 0.9564 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.007312, allocations: 0 / 0.9564 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.007325, allocations: 0 / 0.9564 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.625e-06/0.007327, allocations: 3.938 kB / 0.9564 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.007331, allocations: 0 / 0.9564 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.442e-05/0.007405, allocations: 4 kB / 0.9564 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.007424, allocations: 12.11 kB / 0.9564 GB, free: 5.746 MB / 0.8575 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.0001714/0.007595, allocations: 189 kB / 0.9566 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.68e-05/0.007672, allocations: 105 kB / 0.9567 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.606e-05/0.007728, allocations: 104.1 kB / 0.9568 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.412e-05/0.007812, allocations: 184.2 kB / 0.957 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.132e-05/0.007893, allocations: 188.1 kB / 0.9572 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.001e-05/0.007973, allocations: 180.2 kB / 0.9574 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.008266, allocations: 352.8 kB / 0.9577 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.603e-05/0.008312, allocations: 105 kB / 0.9578 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.584e-05/0.008388, allocations: 116.8 kB / 0.9579 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.708e-05/0.008475, allocations: 180.3 kB / 0.9581 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.141e-05/0.008557, allocations: 180.2 kB / 0.9582 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001211/0.008678, allocations: 184.3 kB / 0.9584 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.894e-05/0.008757, allocations: 176.3 kB / 0.9586 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.008932, allocations: 311.7 kB / 0.9589 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.008996, allocations: 116.9 kB / 0.959 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-05/0.009085, allocations: 176.3 kB / 0.9592 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.835e-05/0.009174, allocations: 101 kB / 0.9593 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.603e-05/0.00927, allocations: 192.3 kB / 0.9594 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/0.009321, allocations: 105 kB / 0.9595 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.528e-05/0.009387, allocations: 83.27 kB / 0.9596 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.009387, allocations: 4 kB / 0.9596 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003613/0.009748, allocations: 59.73 kB / 0.9597 GB, free: 2.238 MB / 0.8575 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.0009187/0.01067, allocations: 401.3 kB / 0.9601 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.567e-05/0.01076, allocations: 20.25 kB / 0.9601 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01076, allocations: 0 / 0.9601 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.298e-06/0.01077, allocations: 4 kB / 0.9601 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.01116, allocations: 451.7 kB / 0.9605 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/0.01144, allocations: 177.9 kB / 0.9607 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.017e-05/0.0115, allocations: 55.36 kB / 0.9607 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.054e-05/0.01159, allocations: 7.984 kB / 0.9607 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/0.01163, allocations: 16.48 kB / 0.9608 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of SimCode: time 6.91e-07/0.01163, allocations: 8.062 kB / 0.9608 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of Templates: time 0.004715/0.01635, allocations: 1.567 MB / 0.9623 GB, free: 15.59 MB / 0.8731 GB " [Timeout remaining time 300] 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: 7.695370711386204]