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.001788/0.001788, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002175/0.002175, allocations: 208.2 kB / 23 MB, free: 4.934 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.515/3.515, allocations: 0.49 GB / 0.7959 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.002022/0.002022, allocations: 73.14 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.4361, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002264/0.4383, allocations: 0.5429 MB / 1.328 GB, free: 500 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002289/0.4406, allocations: 1.196 MB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.483e-05/0.4406, allocations: 0 / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.4407, allocations: 19.97 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.05e-05/0.4408, allocations: 0 / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000646/0.4414, allocations: 179.4 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.219e-05/0.4415, allocations: 19.97 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.4416, allocations: 0 / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.448e-05/0.4416, allocations: 4 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.178e-05/0.4416, allocations: 15.92 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.4417, allocations: 0 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004046/0.4421, allocations: 235.5 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.986e-05/0.4421, allocations: 8 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.07e-05/0.4421, allocations: 0 / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000341/0.4425, allocations: 199.5 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4425, allocations: 3.938 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4425, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.4425, allocations: 0 / 1.329 GB, free: 14.61 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.0004192/0.4429, allocations: 301.8 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.4429, allocations: 8.031 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.252e-05/0.443, allocations: 76.22 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.4432, allocations: 181.8 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003036/0.4435, allocations: 150.9 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.787e-05/0.4436, allocations: 158.9 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.4437, allocations: 105.1 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.033e-05/0.4438, allocations: 75.28 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.415e-05/0.4438, allocations: 158.6 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001887/0.444, allocations: 150.6 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.951e-05/0.4441, allocations: 154.5 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.4445, allocations: 405.6 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.4446, allocations: 169.1 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.253e-05/0.4447, allocations: 84.08 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.4447, allocations: 75.28 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.145e-05/0.4448, allocations: 113.8 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.4448, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.773e-05/0.4449, allocations: 37.62 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.4449, allocations: 51.41 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.445, allocations: 101.9 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.4451, allocations: 25.7 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.956e-05/0.4451, allocations: 80.14 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-06/0.4451, allocations: 0 / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.4452, allocations: 29.69 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002486/0.4454, allocations: 310.8 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.022e-05/0.4454, allocations: 7.984 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.077e-05/0.4455, allocations: 67.41 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.775e-05/0.4456, allocations: 24.78 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.4456, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001409/0.4457, allocations: 57.64 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.4457, allocations: 4 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4457, allocations: 3.938 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.4457, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.4457, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4458, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.776e-05/0.4458, allocations: 16.05 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.4459, allocations: 0 / 1.332 GB, free: 11.3 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.0001216/0.446, allocations: 185.7 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.564e-05/0.4461, allocations: 108.9 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.424e-05/0.4461, allocations: 108.1 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.93e-05/0.4462, allocations: 188.4 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.907e-05/0.4463, allocations: 105 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.116e-05/0.4463, allocations: 109 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.4464, allocations: 184.2 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.521e-05/0.4465, allocations: 105 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.4467, allocations: 188.2 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001852/0.4469, allocations: 259.5 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002527/0.4472, allocations: 379 kB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.211e-05/0.4472, allocations: 105 kB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.245e-05/0.4473, allocations: 87.22 kB / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of Backend: time 2.3e-07/0.4473, allocations: 0 / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001437/0.4487, allocations: 314.7 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007739/0.4495, allocations: 0.8428 MB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of Templates: time 0.005166/0.4546, allocations: 1.57 MB / 1.337 GB, free: 6.43 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/jenkins1/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.758864507995895]