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.001181/0.001181, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001352/0.001352, allocations: 173 kB / 23.49 MB, free: 1.059 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.9485/0.9485, allocations: 177.1 MB / 203.8 MB, free: 5.652 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 2.038/2.038, allocations: 429.5 MB / 0.6736 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.[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.603e-06/1.603e-06, allocations: 0 / 0.8782 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.979e-05, allocations: 3.625 kB / 0.8782 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject): time 0.001535/0.001555, allocations: 0.5592 MB / 0.8787 GB, free: 6.121 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.002752, allocations: 1.25 MB / 0.8799 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.507e-05/0.002777, allocations: 0 / 0.8799 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.503e-05/0.002862, allocations: 4.766 kB / 0.8799 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.242e-05/0.002905, allocations: 0.875 kB / 0.8799 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.003306, allocations: 184.2 kB / 0.8801 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.796e-05/0.003364, allocations: 22.16 kB / 0.8801 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.003398, allocations: 4 kB / 0.8801 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.22e-05/0.00343, allocations: 16.83 kB / 0.8802 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.183e-05/0.003462, allocations: 4 kB / 0.8802 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.003474, allocations: 5.438 kB / 0.8802 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002541/0.003729, allocations: 211.6 kB / 0.8804 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.315e-05/0.003762, allocations: 4 kB / 0.8804 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.835e-05/0.00378, allocations: 4 kB / 0.8804 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.004016, allocations: 220.8 kB / 0.8806 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.004017, allocations: 0 / 0.8806 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.91e-07/0.004018, allocations: 0 / 0.8806 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.004021, allocations: 3.406 kB / 0.8806 GB, free: 4.211 MB / 0.8386 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.0002649/0.004286, allocations: 407.7 kB / 0.881 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.004319, allocations: 16.02 kB / 0.881 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.381e-05/0.004373, allocations: 120.1 kB / 0.8811 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.00448, allocations: 227.8 kB / 0.8813 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.572e-05/0.004535, allocations: 242.8 kB / 0.8816 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.313e-05/0.004599, allocations: 246.7 kB / 0.8818 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.478e-05/0.004653, allocations: 145.5 kB / 0.8819 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/0.004686, allocations: 119.4 kB / 0.882 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-05/0.004741, allocations: 243.1 kB / 0.8823 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.087e-05/0.004802, allocations: 242.4 kB / 0.8825 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.078e-05/0.004853, allocations: 243.8 kB / 0.8827 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002108/0.005064, allocations: 0.572 MB / 0.8833 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.476e-05/0.005139, allocations: 265.4 kB / 0.8835 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.304e-05/0.005172, allocations: 126.9 kB / 0.8837 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.005196, allocations: 123.2 kB / 0.8838 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.005237, allocations: 160.5 kB / 0.8839 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 5.81e-07/0.005238, allocations: 0 / 0.8839 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 4.754e-05/0.005285, allocations: 29.7 kB / 0.884 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.005339, allocations: 178.5 kB / 0.8841 GB, free: 424 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.995e-05/0.005429, allocations: 161.9 kB / 0.8843 GB, free: 244 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.00544, allocations: 29.7 kB / 0.8843 GB, free: 208 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.005479, allocations: 130.9 kB / 0.8844 GB, free: 72 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.005481, allocations: 0 / 0.8844 GB, free: 72 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.00551, allocations: 27.36 kB / 0.8845 GB, free: 36 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.005639, allocations: 0.4884 MB / 0.8849 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.045e-05/0.005659, allocations: 4 kB / 0.885 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.308e-05/0.005692, allocations: 59.39 kB / 0.885 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.141e-05/0.005724, allocations: 15.62 kB / 0.885 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.005726, allocations: 7.938 kB / 0.885 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.906e-05/0.005815, allocations: 45.69 kB / 0.8851 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.005826, allocations: 8 kB / 0.8851 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.00583, allocations: 0 / 0.8851 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.005841, allocations: 0 / 0.8851 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.663e-06/0.005843, allocations: 4.062 kB / 0.8851 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.005847, allocations: 4 kB / 0.8851 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.393e-05/0.005891, allocations: 7.938 kB / 0.8851 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.005902, allocations: 0 / 0.8851 GB, free: 15.36 MB / 0.8542 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.016e-05/0.005982, allocations: 275.8 kB / 0.8854 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.444e-05/0.006026, allocations: 152.8 kB / 0.8855 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.006071, allocations: 156 kB / 0.8857 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.297e-05/0.006134, allocations: 268 kB / 0.8859 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.036e-05/0.006194, allocations: 268 kB / 0.8862 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.812e-05/0.006252, allocations: 268.1 kB / 0.8864 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.006408, allocations: 0.492 MB / 0.8869 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.233e-05/0.00644, allocations: 148.9 kB / 0.887 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.006474, allocations: 149 kB / 0.8872 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.918e-05/0.006533, allocations: 272.1 kB / 0.8874 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.297e-05/0.006596, allocations: 272.1 kB / 0.8877 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.819e-05/0.006654, allocations: 268 kB / 0.888 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.856e-05/0.006713, allocations: 264.1 kB / 0.8882 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.006826, allocations: 455.9 kB / 0.8886 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.006868, allocations: 148.8 kB / 0.8888 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.574e-05/0.006934, allocations: 272 kB / 0.8891 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.092e-05/0.006985, allocations: 144.9 kB / 0.8892 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.007051, allocations: 280 kB / 0.8895 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.007085, allocations: 152.9 kB / 0.8896 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.633e-05/0.007121, allocations: 119.4 kB / 0.8897 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007121, allocations: 0 / 0.8897 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000216/0.007337, allocations: 59.73 kB / 0.8898 GB, free: 10.37 MB / 0.8542 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.0005722/0.007909, allocations: 459.8 kB / 0.8902 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.118e-05/0.007971, allocations: 19.62 kB / 0.8902 GB, free: 9.961 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.007972, allocations: 0 / 0.8902 GB, free: 9.961 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.007973, allocations: 0 / 0.8902 GB, free: 9.961 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.008245, allocations: 0.71 MB / 0.8909 GB, free: 9.246 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001812/0.008426, allocations: 221.6 kB / 0.8911 GB, free: 9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.861e-05/0.008455, allocations: 55.34 kB / 0.8912 GB, free: 8.926 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.591e-05/0.008481, allocations: 8.062 kB / 0.8912 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.008514, allocations: 20.48 kB / 0.8912 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/0.008514, allocations: 0 / 0.8912 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of Templates: time 0.002701/0.01122, allocations: 1.596 MB / 0.8928 GB, free: 7.352 MB / 0.8542 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_12_Functions_Examples_ExchangeWithPassPythonObject.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: 5.1747260871343315]