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.001964/0.001964, allocations: 101.3 kB / 16.45 MB, free: 6.449 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.002617/0.002617, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.467/1.467, allocations: 230.6 MB / 252.8 MB, free: 9.09 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.174/3.174, allocations: 0.49 GB / 0.7916 GB, free: 33.38 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.002118/0.002118, allocations: 73.23 kB / 1.149 GB, free: 26.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3394, allocations: 176.1 MB / 1.321 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001883/0.3413, allocations: 0.5379 MB / 1.322 GB, free: 2.32 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00207/0.3434, allocations: 1.133 MB / 1.323 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.817e-05/0.3434, allocations: 0 / 1.323 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.3435, allocations: 3.938 kB / 1.323 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.785e-05/0.3436, allocations: 0 / 1.323 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006241/0.3442, allocations: 183.2 kB / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.097e-05/0.3443, allocations: 19.98 kB / 1.323 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.3443, allocations: 0 / 1.323 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.383e-05/0.3444, allocations: 11.92 kB / 1.323 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.017e-05/0.3444, allocations: 8 kB / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.3444, allocations: 0 / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004523/0.3449, allocations: 207.6 kB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.454e-05/0.3449, allocations: 0 / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.134e-05/0.345, allocations: 15.91 kB / 1.323 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.3453, allocations: 191.5 kB / 1.323 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.3453, allocations: 0 / 1.323 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.936e-06/0.3454, allocations: 0 / 1.323 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.3454, allocations: 4 kB / 1.323 GB, free: 0.5508 MB / 1.014 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.0005859/0.3459, allocations: 371 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.346, allocations: 11.98 kB / 1.324 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.3461, allocations: 84.22 kB / 1.324 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.3463, allocations: 239.7 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.982e-05/0.3464, allocations: 154.9 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.369e-05/0.3465, allocations: 166.9 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.179e-05/0.3466, allocations: 105.1 kB / 1.325 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.492e-05/0.3466, allocations: 75.28 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.992e-05/0.3467, allocations: 154.5 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.858e-05/0.3468, allocations: 150.6 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.975e-05/0.3468, allocations: 154.6 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.3472, allocations: 449.9 kB / 1.326 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.3473, allocations: 169.1 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.217e-05/0.3474, allocations: 88.19 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.3474, allocations: 79.22 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.4e-05/0.3475, allocations: 113.8 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/0.3475, allocations: 0 / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.545e-05/0.3476, allocations: 25.7 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.636e-05/0.3476, allocations: 130.7 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.3478, allocations: 101.8 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.3478, allocations: 25.7 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.3478, allocations: 84.14 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.3478, allocations: 0 / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.3479, allocations: 29.69 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3481, allocations: 310.8 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.764e-05/0.3481, allocations: 8 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.68e-05/0.3481, allocations: 15.92 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.698e-05/0.3482, allocations: 24.84 kB / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3482, allocations: 0 / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000151/0.3483, allocations: 57.58 kB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3483, allocations: 8.125 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3483, allocations: 0 / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3484, allocations: 0 / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.3484, allocations: 0 / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.3484, allocations: 4 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.986e-05/0.3485, allocations: 0 / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.3485, allocations: 11.98 kB / 1.327 GB, free: 12.98 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.0001263/0.3486, allocations: 185.1 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.059e-05/0.3487, allocations: 112.9 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.854e-05/0.3487, allocations: 104.1 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-05/0.3488, allocations: 184.2 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-05/0.3489, allocations: 188.3 kB / 1.327 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.456e-05/0.349, allocations: 180.3 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.3492, allocations: 401.2 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.423e-05/0.3493, allocations: 109 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.906e-05/0.3494, allocations: 112.9 kB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.581e-05/0.3494, allocations: 176.3 kB / 1.328 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.693e-05/0.3495, allocations: 184.1 kB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.147e-05/0.3496, allocations: 180.3 kB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.931e-05/0.3497, allocations: 184.2 kB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.3499, allocations: 307.8 kB / 1.329 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.154e-05/0.35, allocations: 186 kB / 1.329 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.973e-05/0.3501, allocations: 180.2 kB / 1.33 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.254e-05/0.3502, allocations: 105 kB / 1.33 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.3502, allocations: 184.2 kB / 1.33 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.422e-05/0.3503, allocations: 105 kB / 1.33 GB, free: 9.465 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.143e-05/0.3503, allocations: 83.45 kB / 1.33 GB, free: 9.383 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3503, allocations: 0 / 1.33 GB, free: 9.383 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003552/0.3507, allocations: 63.72 kB / 1.33 GB, free: 9.32 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.0008831/0.3516, allocations: 375.5 kB / 1.33 GB, free: 9 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.3517, allocations: 19.92 kB / 1.33 GB, free: 8.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3517, allocations: 0 / 1.33 GB, free: 8.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/0.3517, allocations: 0 / 1.33 GB, free: 8.98 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/0.3522, allocations: 463.9 kB / 1.331 GB, free: 8.527 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.3524, allocations: 164.3 kB / 1.331 GB, free: 8.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.3528, allocations: 0.6767 MB / 1.332 GB, free: 7.637 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001078/0.3529, allocations: 7.984 kB / 1.332 GB, free: 7.629 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.3529, allocations: 19.42 kB / 1.332 GB, free: 7.609 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.3529, allocations: 4 kB / 1.332 GB, free: 7.605 MB / 1.029 GB Notification: Performance of Templates: time 0.004548/0.3575, allocations: 1.516 MB / 1.333 GB, free: 6.102 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: 8.757991701830178]