Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_12.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.001056/0.001056, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001492/0.002549, allocations: 440 kB / 10.41 MB, free: 284 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.0009852/0.0009852, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001289/0.002274, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9709/0.9709, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09041/1.061, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.436/2.436, allocations: 447.1 MB / 0.675 GB, free: 5.93 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.233/2.669, allocations: 146 MB / 0.8176 GB, free: 3.852 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_12.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.[0-9,]+.|yR2.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.[0-9,]+.|yR2.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.8189 GB, free: 2.547 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.585e-05/1.726e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject): time 0.001399/0.001416, allocations: 0.6143 MB / 0.8195 GB, free: 1.922 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.004385/0.005801, allocations: 1.27 MB / 0.8207 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.298e-05/0.005824, allocations: 4 kB / 0.8208 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.291e-05/0.005877, allocations: 15.86 kB / 0.8208 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.351e-05/0.005891, allocations: 3.938 kB / 0.8208 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.006329, allocations: 171.2 kB / 0.8209 GB, free: 464 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.125e-05/0.0064, allocations: 15.98 kB / 0.8209 GB, free: 448 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.006435, allocations: 4 kB / 0.821 GB, free: 444 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.145e-05/0.006486, allocations: 11.98 kB / 0.821 GB, free: 432 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.591e-05/0.006532, allocations: 7.938 kB / 0.821 GB, free: 424 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.006546, allocations: 4 kB / 0.821 GB, free: 420 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.006881, allocations: 219.6 kB / 0.8212 GB, free: 200 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.006925, allocations: 11.94 kB / 0.8212 GB, free: 188 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.793e-05/0.006943, allocations: 0 / 0.8212 GB, free: 188 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.007205, allocations: 183.4 kB / 0.8214 GB, free: 4 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.054e-05/0.007236, allocations: 8.047 kB / 0.8214 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.11e-07/0.007236, allocations: 0 / 0.8214 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.007252, allocations: 0 / 0.8214 GB, free: 15.99 MB / 0.8073 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.0003498/0.007602, allocations: 288.1 kB / 0.8217 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.007636, allocations: 8.031 kB / 0.8217 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.007688, allocations: 76.22 kB / 0.8217 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.00781, allocations: 193 kB / 0.8219 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.997e-05/0.00785, allocations: 150.9 kB / 0.8221 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.007898, allocations: 158.9 kB / 0.8222 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.949e-05/0.007948, allocations: 101.5 kB / 0.8223 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.00797, allocations: 75.47 kB / 0.8224 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.701e-05/0.008007, allocations: 158.7 kB / 0.8225 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.896e-05/0.008066, allocations: 150.6 kB / 0.8227 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.65e-05/0.008103, allocations: 154.6 kB / 0.8228 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.00828, allocations: 365.2 kB / 0.8232 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.879e-05/0.008359, allocations: 169.1 kB / 0.8233 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.065e-05/0.008379, allocations: 80.14 kB / 0.8234 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.008397, allocations: 75.28 kB / 0.8235 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.008431, allocations: 113.8 kB / 0.8236 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 6.92e-07/0.008432, allocations: 0 / 0.8236 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.048e-05/0.008492, allocations: 29.64 kB / 0.8236 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00305/0.01154, allocations: 130.7 kB / 0.8237 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.965e-05/0.01162, allocations: 114.5 kB / 0.8239 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.01163, allocations: 25.7 kB / 0.8239 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.049e-05/0.01167, allocations: 88.12 kB / 0.824 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.343e-06/0.01167, allocations: 0 / 0.824 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.0117, allocations: 21.7 kB / 0.824 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.01181, allocations: 314.8 kB / 0.8243 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.231e-05/0.01183, allocations: 6.828 kB / 0.8243 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.097e-05/0.01186, allocations: 55.41 kB / 0.8243 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.025e-05/0.01189, allocations: 15.67 kB / 0.8244 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01189, allocations: 0 / 0.8244 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.987e-05/0.01197, allocations: 41.64 kB / 0.8244 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.01199, allocations: 8.125 kB / 0.8244 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.01199, allocations: 4 kB / 0.8244 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.01201, allocations: 3.984 kB / 0.8244 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.694e-06/0.01201, allocations: 0 / 0.8244 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.01201, allocations: 3.938 kB / 0.8244 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.181e-05/0.01207, allocations: 3.938 kB / 0.8244 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.01209, allocations: 4 kB / 0.8244 GB, free: 12.7 MB / 0.8073 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 6.918e-05/0.01215, allocations: 188 kB / 0.8246 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.01219, allocations: 104.9 kB / 0.8247 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.684e-05/0.01223, allocations: 108.1 kB / 0.8248 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.172e-05/0.01227, allocations: 184.5 kB / 0.825 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.131e-05/0.01231, allocations: 184.2 kB / 0.8252 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.282e-05/0.01236, allocations: 192.2 kB / 0.8253 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.01251, allocations: 325.4 kB / 0.8257 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.45e-05/0.01253, allocations: 101 kB / 0.8257 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.417e-05/0.01256, allocations: 105 kB / 0.8258 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.01259, allocations: 104.9 kB / 0.8259 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001086/0.01269, allocations: 180.4 kB / 0.8261 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/0.01274, allocations: 188.2 kB / 0.8263 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.86e-05/0.01278, allocations: 176.3 kB / 0.8265 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.441e-05/0.01282, allocations: 184.3 kB / 0.8266 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.599e-05/0.01292, allocations: 307.7 kB / 0.8269 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/0.01297, allocations: 184.2 kB / 0.8271 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.271e-05/0.01303, allocations: 105 kB / 0.8272 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.01307, allocations: 176.3 kB / 0.8274 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/0.0131, allocations: 104.9 kB / 0.8275 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.816e-05/0.01312, allocations: 8.859 kB / 0.8275 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01312, allocations: 0 / 0.8275 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002551/0.01337, allocations: 63.72 kB / 0.8276 GB, free: 9.316 MB / 0.8073 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.0008764/0.01425, allocations: 478.1 kB / 0.828 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.484e-05/0.01432, allocations: 24.77 kB / 0.828 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.01433, allocations: 0 / 0.828 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.025e-06/0.01433, allocations: 0 / 0.828 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003244/0.01757, allocations: 475.7 kB / 0.8285 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001964/0.01777, allocations: 175 kB / 0.8287 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.984e-05/0.0178, allocations: 51.36 kB / 0.8287 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.824e-05/0.01785, allocations: 15.89 kB / 0.8287 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.537e-05/0.0179, allocations: 63.3 kB / 0.8288 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of SimCode: time 7.02e-07/0.0179, allocations: 0 / 0.8288 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of Templates: time 0.006696/0.0246, allocations: 1.829 MB / 0.8306 GB, free: 6.336 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.256854275241494]