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.0008339/0.0008339, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008029/0.0008029, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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.8696/0.8696, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.787/1.787, allocations: 389 MB / 0.6338 GB, free: 12.73 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.1.|yR2.1.",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.1.|yR2.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.809e-05, allocations: 6.281 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject): time 0.001247/0.001275, allocations: 0.5325 MB / 1.001 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.002382, allocations: 1.216 MB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.357e-05/0.002405, allocations: 7.938 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.818e-05/0.002503, allocations: 4 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.091e-05/0.002554, allocations: 0 / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.003012, allocations: 183.3 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.571e-05/0.003077, allocations: 15.98 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.003116, allocations: 3.984 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.7e-05/0.003153, allocations: 11.94 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.148e-05/0.003194, allocations: 11.92 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.003207, allocations: 0 / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002696/0.003477, allocations: 215.6 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.165e-05/0.003519, allocations: 11.94 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.337e-05/0.003542, allocations: 4 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.003784, allocations: 215.4 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.003786, allocations: 0 / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.953e-06/0.003788, allocations: 4 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.003792, allocations: 0 / 1.003 GB, free: 10.6 MB / 0.9636 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.000291/0.004083, allocations: 296.2 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.00412, allocations: 8.75 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.39e-05/0.004174, allocations: 84.17 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.805e-05/0.004272, allocations: 185 kB / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.972e-05/0.004312, allocations: 162.9 kB / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/0.004353, allocations: 150.9 kB / 1.004 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.624e-05/0.00441, allocations: 105.5 kB / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.004429, allocations: 79.47 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.004469, allocations: 154.7 kB / 1.004 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.004504, allocations: 150.6 kB / 1.005 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.758e-05/0.004541, allocations: 150.6 kB / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001915/0.004733, allocations: 401.6 kB / 1.005 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.694e-05/0.0048, allocations: 177.1 kB / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.338e-05/0.004823, allocations: 80.14 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.004846, allocations: 75.28 kB / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.004884, allocations: 117.8 kB / 1.006 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 6.62e-07/0.004884, allocations: 0 / 1.006 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.938e-05/0.004944, allocations: 25.7 kB / 1.006 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.004989, allocations: 130.6 kB / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.744e-05/0.005087, allocations: 105.8 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.005097, allocations: 29.64 kB / 1.006 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.097e-05/0.005128, allocations: 80.14 kB / 1.006 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.00513, allocations: 4 kB / 1.006 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.005158, allocations: 13.72 kB / 1.006 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002354/0.005393, allocations: 318.8 kB / 1.006 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.298e-05/0.005416, allocations: 12 kB / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.753e-05/0.005454, allocations: 63.33 kB / 1.006 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.971e-05/0.005493, allocations: 24.86 kB / 1.006 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.005495, allocations: 0 / 1.006 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001099/0.005605, allocations: 49.67 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.005617, allocations: 4 kB / 1.006 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.005622, allocations: 0 / 1.006 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.005634, allocations: 0 / 1.006 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.98e-06/0.005639, allocations: 15.81 kB / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.005645, allocations: 4.125 kB / 1.006 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.005711, allocations: 3.953 kB / 1.006 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.005724, allocations: 4 kB / 1.006 GB, free: 7.211 MB / 0.9636 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.666e-05/0.005791, allocations: 185.2 kB / 1.007 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.005828, allocations: 113 kB / 1.007 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.483e-05/0.005863, allocations: 104.1 kB / 1.007 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-05/0.005899, allocations: 184.2 kB / 1.007 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.903e-05/0.005938, allocations: 180.2 kB / 1.007 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.306e-05/0.005981, allocations: 180.2 kB / 1.007 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.006106, allocations: 356.9 kB / 1.008 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.623e-05/0.006133, allocations: 112.9 kB / 1.008 GB, free: 5.73 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.155e-05/0.006154, allocations: 105 kB / 1.008 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.086e-05/0.006195, allocations: 180.2 kB / 1.008 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/0.006235, allocations: 180.2 kB / 1.008 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.906e-05/0.006274, allocations: 184.3 kB / 1.008 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.756e-05/0.006322, allocations: 180.2 kB / 1.009 GB, free: 4.883 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.429e-05/0.006416, allocations: 303.8 kB / 1.009 GB, free: 4.562 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.032e-05/0.006446, allocations: 108.9 kB / 1.009 GB, free: 4.449 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.944e-05/0.006496, allocations: 184.3 kB / 1.009 GB, free: 4.262 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.836e-05/0.006544, allocations: 109.1 kB / 1.009 GB, free: 4.148 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.006587, allocations: 180.2 kB / 1.009 GB, free: 3.965 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.006611, allocations: 113 kB / 1.009 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.123e-05/0.006643, allocations: 79.28 kB / 1.01 GB, free: 3.77 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006643, allocations: 0 / 1.01 GB, free: 3.77 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000231/0.006874, allocations: 67.66 kB / 1.01 GB, free: 3.703 MB / 0.9636 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.0005221/0.007396, allocations: 397.1 kB / 1.01 GB, free: 3.375 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.985e-05/0.007476, allocations: 15.92 kB / 1.01 GB, free: 3.359 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.007477, allocations: 0 / 1.01 GB, free: 3.359 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.007478, allocations: 0 / 1.01 GB, free: 3.359 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.007711, allocations: 455.7 kB / 1.01 GB, free: 2.91 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002206/0.007931, allocations: 201.8 kB / 1.011 GB, free: 2.68 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.2e-05/0.007973, allocations: 55.36 kB / 1.011 GB, free: 2.605 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.883e-05/0.008052, allocations: 16.48 kB / 1.011 GB, free: 2.59 MB / 0.9636 GB Notification: Performance of SimCode: time 3.51e-07/0.008053, allocations: 8 kB / 1.011 GB, free: 2.582 MB / 0.9636 GB Notification: Performance of Templates: time 0.002341/0.01039, allocations: 1.577 MB / 1.012 GB, free: 1.008 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_12_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Python_3_12.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: 7.252444070763886]