Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 188.5 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 63.89 kB / 1.061 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8259/0.8278, allocations: 160.8 MB / 1.218 GB, free: 3.734 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001974/0.8298, allocations: 0.5408 MB / 1.219 GB, free: 3.34 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001958/0.8318, allocations: 1.233 MB / 1.22 GB, free: 2.371 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.626e-05/0.8318, allocations: 1.094 kB / 1.22 GB, free: 2.371 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.8319, allocations: 5.125 kB / 1.22 GB, free: 2.367 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.347e-05/0.8319, allocations: 7.922 kB / 1.22 GB, free: 2.359 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006055/0.8325, allocations: 178.3 kB / 1.22 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.37e-05/0.8326, allocations: 23.75 kB / 1.22 GB, free: 2.23 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.291e-05/0.8327, allocations: 2.625 kB / 1.22 GB, free: 2.23 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.923e-05/0.8327, allocations: 8.672 kB / 1.22 GB, free: 2.227 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.363e-05/0.8328, allocations: 12.69 kB / 1.22 GB, free: 2.219 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.8328, allocations: 1.125 kB / 1.22 GB, free: 2.219 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004928/0.8333, allocations: 242.3 kB / 1.221 GB, free: 2.082 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.268e-05/0.8333, allocations: 3.062 kB / 1.221 GB, free: 2.082 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.873e-05/0.8333, allocations: 3.125 kB / 1.221 GB, free: 2.082 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003603/0.8337, allocations: 211.4 kB / 1.221 GB, free: 1.973 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.8337, allocations: 0 / 1.221 GB, free: 1.973 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8337, allocations: 0 / 1.221 GB, free: 1.973 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.8337, allocations: 0 / 1.221 GB, free: 1.973 MB / 0.92 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.0004763/0.8342, allocations: 372.9 kB / 1.221 GB, free: 1.578 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.8342, allocations: 12.47 kB / 1.221 GB, free: 1.574 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.49e-05/0.8343, allocations: 78.53 kB / 1.221 GB, free: 1.5 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.8345, allocations: 240.5 kB / 1.222 GB, free: 1.227 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.36e-05/0.8346, allocations: 159.9 kB / 1.222 GB, free: 1.07 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.728e-05/0.8347, allocations: 156.9 kB / 1.222 GB, free: 0.918 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.943e-05/0.8347, allocations: 109.1 kB / 1.222 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.421e-05/0.8348, allocations: 80.38 kB / 1.222 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.278e-05/0.8349, allocations: 150.6 kB / 1.222 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.021e-05/0.8349, allocations: 151.6 kB / 1.222 GB, free: 440 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.109e-05/0.835, allocations: 150.6 kB / 1.222 GB, free: 288 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.8353, allocations: 453.8 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.8354, allocations: 170.2 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.136e-05/0.8355, allocations: 80.14 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.8355, allocations: 79.28 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.554e-05/0.8356, allocations: 114.7 kB / 1.223 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.8356, allocations: 1.031 kB / 1.223 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 9.294e-05/0.8357, allocations: 34.67 kB / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.8357, allocations: 131.5 kB / 1.223 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.8359, allocations: 103.8 kB / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.8359, allocations: 26.83 kB / 1.224 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.836, allocations: 81.33 kB / 1.224 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.836, allocations: 0 / 1.224 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.836, allocations: 19.42 kB / 1.224 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.8361, allocations: 316.2 kB / 1.224 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.886e-05/0.8362, allocations: 8.969 kB / 1.224 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.288e-05/0.8362, allocations: 11.55 kB / 1.224 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.56e-05/0.8363, allocations: 24.16 kB / 1.224 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.8363, allocations: 1.406 kB / 1.224 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001439/0.8364, allocations: 53.88 kB / 1.224 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.8364, allocations: 5.062 kB / 1.224 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.8364, allocations: 1.125 kB / 1.224 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.8364, allocations: 0 / 1.224 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-06/0.8364, allocations: 5.094 kB / 1.224 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.8365, allocations: 3.984 kB / 1.224 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.441e-05/0.8365, allocations: 9.875 kB / 1.224 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.8366, allocations: 6.203 kB / 1.224 GB, free: 14.52 MB / 0.9356 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.8367, allocations: 196.2 kB / 1.224 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.8368, allocations: 106 kB / 1.224 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.827e-05/0.8368, allocations: 109.2 kB / 1.224 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.763e-05/0.8369, allocations: 185.4 kB / 1.225 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.786e-05/0.837, allocations: 181.4 kB / 1.225 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.427e-05/0.8371, allocations: 177.5 kB / 1.225 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.8373, allocations: 403.4 kB / 1.225 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.862e-05/0.8374, allocations: 110.1 kB / 1.225 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.54e-05/0.8374, allocations: 112.9 kB / 1.226 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.596e-05/0.8375, allocations: 181.3 kB / 1.226 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.983e-05/0.8376, allocations: 185.7 kB / 1.226 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.683e-05/0.8377, allocations: 177 kB / 1.226 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.179e-05/0.8378, allocations: 185.9 kB / 1.226 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.8379, allocations: 315.1 kB / 1.227 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.712e-05/0.838, allocations: 187.1 kB / 1.227 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.18e-05/0.8381, allocations: 186.6 kB / 1.227 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.581e-05/0.8382, allocations: 101 kB / 1.227 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/0.8383, allocations: 177.5 kB / 1.227 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.174e-05/0.8383, allocations: 110.1 kB / 1.227 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.215e-05/0.8384, allocations: 86.8 kB / 1.227 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8384, allocations: 0 / 1.227 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003996/0.8388, allocations: 55.02 kB / 1.227 GB, free: 10.91 MB / 0.9356 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.01097/0.8498, allocations: 380.9 kB / 1.228 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001819/0.85, allocations: 11.89 kB / 1.228 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.85, allocations: 0 / 1.228 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.378e-06/0.85, allocations: 1.281 kB / 1.228 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/0.8505, allocations: 469.4 kB / 1.228 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.8508, allocations: 170 kB / 1.228 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.8511, allocations: 0.6715 MB / 1.229 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001313/0.8513, allocations: 9.578 kB / 1.229 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.329e-05/0.8513, allocations: 15.83 kB / 1.229 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of SimCode: time 9.02e-07/0.8513, allocations: 0 / 1.229 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of Templates: time 0.005121/0.8564, allocations: 1.523 MB / 1.231 GB, free: 8.512 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.654843274503946]