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.002224/0.002224, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001503/0.003726, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001071/0.001071, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001423/0.002494, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9804/0.9804, allocations: 177.2 MB / 189.6 MB, free: 5.289 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09141/1.072, allocations: 53.65 MB / 243.3 MB, free: 15.55 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.847/1.847, allocations: 378.2 MB / 0.6076 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5066/2.353, allocations: 123.3 MB / 0.728 GB, free: 5.812 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|yR2.[0-9,]+.",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.[0-9,]+.|yR2.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.484e-05, allocations: 3.844 kB / 0.7293 GB, free: 4.535 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002028/0.002053, allocations: 0.599 MB / 0.7299 GB, free: 3.957 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.003783, allocations: 1.26 MB / 0.7311 GB, free: 2.695 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.809e-05/0.003811, allocations: 0 / 0.7311 GB, free: 2.695 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.401e-05/0.003875, allocations: 16.39 kB / 0.7311 GB, free: 2.68 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.156e-05/0.003897, allocations: 5.438 kB / 0.7311 GB, free: 2.676 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000631/0.004528, allocations: 169.7 kB / 0.7313 GB, free: 2.516 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.605e-05/0.004614, allocations: 18.38 kB / 0.7313 GB, free: 2.5 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.004653, allocations: 0 / 0.7313 GB, free: 2.5 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.391e-05/0.004716, allocations: 16.97 kB / 0.7313 GB, free: 2.484 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.842e-05/0.004765, allocations: 4.984 kB / 0.7313 GB, free: 2.48 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.00478, allocations: 4 kB / 0.7314 GB, free: 2.477 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004792/0.005259, allocations: 224.4 kB / 0.7316 GB, free: 2.262 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.347e-05/0.005303, allocations: 0.875 kB / 0.7316 GB, free: 2.262 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.005328, allocations: 8.547 kB / 0.7316 GB, free: 2.254 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.005667, allocations: 187.2 kB / 0.7318 GB, free: 2.074 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.829e-05/0.005685, allocations: 1.438 kB / 0.7318 GB, free: 2.074 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.362e-06/0.005687, allocations: 0 / 0.7318 GB, free: 2.074 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.84e-05/0.005705, allocations: 0.7656 kB / 0.7318 GB, free: 2.074 MB / 0.698 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.0004006/0.006106, allocations: 282.3 kB / 0.732 GB, free: 1.777 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.006144, allocations: 12.69 kB / 0.732 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/0.006196, allocations: 81.2 kB / 0.7321 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.006327, allocations: 189.7 kB / 0.7323 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.077e-05/0.006378, allocations: 152.7 kB / 0.7324 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.389e-05/0.006432, allocations: 154.9 kB / 0.7326 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.371e-05/0.006486, allocations: 101.5 kB / 0.7327 GB, free: 1.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.006509, allocations: 75.47 kB / 0.7328 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.613e-05/0.006555, allocations: 158.6 kB / 0.7329 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.717e-05/0.006603, allocations: 155.6 kB / 0.7331 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.924e-05/0.006652, allocations: 150.6 kB / 0.7332 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.006848, allocations: 358.3 kB / 0.7335 GB, free: 180 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.899e-05/0.006927, allocations: 170.1 kB / 0.7337 GB, free: 0 / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.992e-05/0.006977, allocations: 88.08 kB / 0.7338 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.006997, allocations: 76 kB / 0.7339 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.00704, allocations: 109.8 kB / 0.734 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.007041, allocations: 0.875 kB / 0.734 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.428e-05/0.007105, allocations: 29.7 kB / 0.734 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.007161, allocations: 127.4 kB / 0.7341 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.347e-05/0.007255, allocations: 114.5 kB / 0.7342 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.007269, allocations: 31.48 kB / 0.7343 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.007309, allocations: 88.12 kB / 0.7343 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.042e-06/0.00731, allocations: 1.875 kB / 0.7343 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.007348, allocations: 13.72 kB / 0.7344 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.895e-05/0.007437, allocations: 318.8 kB / 0.7347 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.991e-05/0.007467, allocations: 10.75 kB / 0.7347 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.112e-05/0.007508, allocations: 55.41 kB / 0.7347 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.399e-05/0.007552, allocations: 20.5 kB / 0.7347 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.007554, allocations: 0.6562 kB / 0.7347 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.663e-05/0.007651, allocations: 38.75 kB / 0.7348 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.007666, allocations: 4.656 kB / 0.7348 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.007673, allocations: 0 / 0.7348 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.007685, allocations: 4.719 kB / 0.7348 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.68e-06/0.00769, allocations: 0 / 0.7348 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.007695, allocations: 4.516 kB / 0.7348 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.444e-05/0.007769, allocations: 7.922 kB / 0.7348 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.007787, allocations: 5.594 kB / 0.7348 GB, free: 14.79 MB / 0.7136 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 8.704e-05/0.007874, allocations: 192.8 kB / 0.735 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-05/0.007924, allocations: 109 kB / 0.7351 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.455e-05/0.007969, allocations: 104.1 kB / 0.7352 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.877e-05/0.008018, allocations: 190 kB / 0.7354 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.819e-05/0.008076, allocations: 176.3 kB / 0.7355 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-05/0.008121, allocations: 184.7 kB / 0.7357 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.008275, allocations: 321.7 kB / 0.736 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.832e-05/0.008303, allocations: 105 kB / 0.7361 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.144e-05/0.008334, allocations: 114 kB / 0.7362 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.008368, allocations: 105 kB / 0.7363 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.046e-05/0.008419, allocations: 184.8 kB / 0.7365 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.855e-05/0.008467, allocations: 180.3 kB / 0.7367 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-05/0.008515, allocations: 181 kB / 0.7369 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.805e-05/0.008563, allocations: 184.2 kB / 0.737 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.008684, allocations: 308.2 kB / 0.7373 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.074e-05/0.008745, allocations: 181.3 kB / 0.7375 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.55e-05/0.00881, allocations: 105 kB / 0.7376 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.008863, allocations: 180.2 kB / 0.7378 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.008892, allocations: 102 kB / 0.7379 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.902e-05/0.008911, allocations: 8.859 kB / 0.7379 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.008911, allocations: 0 / 0.7379 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002932/0.009204, allocations: 56.3 kB / 0.7379 GB, free: 11.41 MB / 0.7136 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.001107/0.01031, allocations: 493.1 kB / 0.7384 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.952e-05/0.0104, allocations: 19.55 kB / 0.7384 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.01041, allocations: 3.984 kB / 0.7384 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.01041, allocations: 0 / 0.7384 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.01068, allocations: 459.7 kB / 0.7389 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.01094, allocations: 174.8 kB / 0.739 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.095e-05/0.01099, allocations: 55.34 kB / 0.7391 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.702e-05/0.01105, allocations: 14.42 kB / 0.7391 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.128e-05/0.01112, allocations: 59.31 kB / 0.7391 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of SimCode: time 7.92e-07/0.01112, allocations: 3.938 kB / 0.7392 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of Templates: time 0.004534/0.01566, allocations: 1.827 MB / 0.7409 GB, free: 8.551 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.980424442328513]