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.001283/0.001283, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001401/0.001401, allocations: 210.4 kB / 22.99 MB, free: 4.957 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.146/3.146, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] 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.002071/0.002071, allocations: 63.12 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3565, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001766/0.3583, allocations: 0.538 MB / 1.328 GB, free: 448 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001944/0.3602, allocations: 1.219 MB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.3603, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.641e-05/0.3603, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.241e-05/0.3604, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005678/0.361, allocations: 187.4 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.068e-05/0.361, allocations: 11.98 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.405e-05/0.361, allocations: 0 / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.261e-05/0.3611, allocations: 15.98 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.432e-05/0.3611, allocations: 15.92 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.3611, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003873/0.3615, allocations: 223.6 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.883e-05/0.3616, allocations: 8 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.3616, allocations: 7.984 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.3619, allocations: 187.5 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.3619, allocations: 7.938 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3619, allocations: 0 / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.3619, allocations: 0 / 1.329 GB, free: 14.56 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.0004596/0.3624, allocations: 297.8 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3624, allocations: 12.03 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.574e-05/0.3625, allocations: 80.22 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.3627, allocations: 181.8 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.3628, allocations: 154.9 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.3629, allocations: 154.9 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.363, allocations: 109.1 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.936e-05/0.3631, allocations: 75.28 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.224e-05/0.3632, allocations: 150.6 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.845e-05/0.3632, allocations: 150.6 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.38e-05/0.3633, allocations: 158.5 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003165/0.3636, allocations: 405.6 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.3637, allocations: 173.1 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/0.3638, allocations: 84.12 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.3638, allocations: 75.28 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.33e-05/0.3639, allocations: 113.8 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3639, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.465e-05/0.364, allocations: 29.64 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.364, allocations: 130.6 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.3641, allocations: 109.8 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.3642, allocations: 25.7 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.877e-05/0.3642, allocations: 84.14 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/0.3642, allocations: 4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.3643, allocations: 17.72 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3644, allocations: 314.8 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.584e-05/0.3644, allocations: 8 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.999e-05/0.3645, allocations: 63.39 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.47e-05/0.3645, allocations: 24.8 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3645, allocations: 0 / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001469/0.3647, allocations: 49.64 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3647, allocations: 11.92 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3647, allocations: 128 / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.3647, allocations: 8 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.3647, allocations: 0 / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3647, allocations: 0 / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.362e-05/0.3648, allocations: 0 / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.3648, allocations: 4 kB / 1.333 GB, free: 11.17 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.0001371/0.365, allocations: 193.6 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.936e-05/0.3651, allocations: 112.8 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.431e-05/0.3651, allocations: 104.1 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001005/0.3652, allocations: 184.3 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.704e-05/0.3653, allocations: 180.3 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.016e-05/0.3654, allocations: 184.3 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.3657, allocations: 360.8 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.545e-05/0.3657, allocations: 109 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.39e-05/0.3658, allocations: 104.9 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-05/0.3658, allocations: 180.3 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-05/0.3659, allocations: 188.2 kB / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-05/0.366, allocations: 180.2 kB / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-05/0.3661, allocations: 176.3 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.3663, allocations: 311.8 kB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.3663, allocations: 101 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.3664, allocations: 188.1 kB / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.592e-05/0.3665, allocations: 105 kB / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.3666, allocations: 184.1 kB / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.388e-05/0.3667, allocations: 109 kB / 1.336 GB, free: 7.793 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.564e-05/0.3667, allocations: 79.28 kB / 1.336 GB, free: 7.715 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3667, allocations: 0 / 1.336 GB, free: 7.715 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003431/0.3671, allocations: 59.73 kB / 1.336 GB, free: 7.656 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.0008702/0.3679, allocations: 396.5 kB / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.082e-05/0.368, allocations: 15.92 kB / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.368, allocations: 0 / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.368, allocations: 0 / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.3684, allocations: 464.4 kB / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/0.3687, allocations: 168.3 kB / 1.337 GB, free: 6.668 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.631e-05/0.3687, allocations: 63.41 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.819e-05/0.3688, allocations: 15.97 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.3689, allocations: 11.44 kB / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3689, allocations: 0 / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of Templates: time 0.004445/0.3733, allocations: 1.564 MB / 1.338 GB, free: 5.008 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 -s gbode -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: 8.6716330890049]