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.001359/0.001359, allocations: 80.38 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001471/0.001471, allocations: 158.7 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.459/1.459, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.857/2.857, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.1.|yR2.1.",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.1.|yR2.1.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.829e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001699/0.001727, allocations: 0.5364 MB / 0.9819 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.003498, allocations: 1.211 MB / 0.9831 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.085e-05/0.003519, allocations: 0 / 0.9831 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.349e-05/0.003612, allocations: 0 / 0.9831 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.938e-05/0.003662, allocations: 0 / 0.9831 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006235/0.004285, allocations: 195.2 kB / 0.9833 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.518e-05/0.00436, allocations: 11.98 kB / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.012e-05/0.004411, allocations: 8 kB / 0.9833 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.521e-05/0.004456, allocations: 11.92 kB / 0.9833 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.754e-05/0.004503, allocations: 7.984 kB / 0.9833 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.004522, allocations: 7.938 kB / 0.9834 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004029/0.004925, allocations: 211.5 kB / 0.9836 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.751e-05/0.004973, allocations: 7.984 kB / 0.9836 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.005, allocations: 4 kB / 0.9836 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.005357, allocations: 219.4 kB / 0.9838 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.005359, allocations: 4 kB / 0.9838 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.71e-07/0.00536, allocations: 0 / 0.9838 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.005364, allocations: 0 / 0.9838 GB, free: 9.543 MB / 0.9356 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.0003848/0.005748, allocations: 293.8 kB / 0.9841 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.005786, allocations: 12.03 kB / 0.9841 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.737e-05/0.005863, allocations: 76.22 kB / 0.9841 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.006016, allocations: 185.1 kB / 0.9843 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.704e-05/0.006083, allocations: 150.9 kB / 0.9845 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-05/0.006161, allocations: 158.9 kB / 0.9846 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.141e-05/0.006233, allocations: 105.5 kB / 0.9847 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.843e-05/0.006271, allocations: 79.47 kB / 0.9848 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.698e-05/0.006338, allocations: 154.7 kB / 0.9849 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.089e-05/0.006409, allocations: 154.5 kB / 0.9851 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.26e-05/0.006481, allocations: 154.6 kB / 0.9852 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.006784, allocations: 401.6 kB / 0.9856 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.006884, allocations: 165.1 kB / 0.9858 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.827e-05/0.006923, allocations: 80.14 kB / 0.9859 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.006958, allocations: 79.28 kB / 0.9859 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.615e-05/0.007015, allocations: 109.8 kB / 0.986 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.007016, allocations: 0 / 0.986 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.143e-05/0.007097, allocations: 37.66 kB / 0.9861 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.296e-05/0.00719, allocations: 134.7 kB / 0.9862 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.007307, allocations: 97.84 kB / 0.9863 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.007327, allocations: 25.7 kB / 0.9863 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.007379, allocations: 92.12 kB / 0.9864 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.007382, allocations: 0 / 0.9864 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.007423, allocations: 21.7 kB / 0.9864 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.007565, allocations: 314.8 kB / 0.9867 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.94e-05/0.007594, allocations: 12 kB / 0.9867 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.552e-05/0.00767, allocations: 67.33 kB / 0.9868 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.849e-05/0.007728, allocations: 24.94 kB / 0.9868 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.00773, allocations: 3.938 kB / 0.9868 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000139/0.007869, allocations: 49.69 kB / 0.9869 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.007887, allocations: 8 kB / 0.9869 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.007893, allocations: 0 / 0.9869 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.007907, allocations: 0 / 0.9869 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.946e-06/0.00791, allocations: 3.938 kB / 0.9869 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.007915, allocations: 3.938 kB / 0.9869 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.077e-05/0.007995, allocations: 4 kB / 0.9869 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.008012, allocations: 0 / 0.9869 GB, free: 6.156 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.00012/0.008132, allocations: 193.1 kB / 0.9871 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.778e-05/0.00821, allocations: 108.9 kB / 0.9872 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.009e-05/0.00827, allocations: 112.1 kB / 0.9873 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.968e-05/0.008349, allocations: 180.2 kB / 0.9875 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.797e-05/0.008427, allocations: 180.2 kB / 0.9876 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.251e-05/0.00851, allocations: 184.2 kB / 0.9878 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.00874, allocations: 356.8 kB / 0.9882 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.307e-05/0.008783, allocations: 101 kB / 0.9882 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.074e-05/0.008834, allocations: 108.9 kB / 0.9884 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-05/0.00891, allocations: 180.3 kB / 0.9885 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-05/0.00899, allocations: 180.3 kB / 0.9887 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.134e-05/0.009072, allocations: 180.2 kB / 0.9889 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.163e-05/0.009153, allocations: 180.5 kB / 0.989 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.009318, allocations: 311.7 kB / 0.9893 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-05/0.009378, allocations: 112.9 kB / 0.9894 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.296e-05/0.009461, allocations: 180.3 kB / 0.9896 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.802e-05/0.009549, allocations: 101 kB / 0.9897 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.566e-05/0.009645, allocations: 192.1 kB / 0.9899 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.565e-05/0.00969, allocations: 105 kB / 0.99 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.86e-05/0.009739, allocations: 79.28 kB / 0.9901 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.009739, allocations: 0 / 0.9901 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000334/0.01007, allocations: 67.67 kB / 0.9901 GB, free: 2.652 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.0009173/0.01099, allocations: 402.7 kB / 0.9905 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.164e-05/0.01108, allocations: 19.92 kB / 0.9905 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01108, allocations: 0 / 0.9905 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.01109, allocations: 336 / 0.9905 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.01149, allocations: 455.7 kB / 0.991 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.01176, allocations: 172 kB / 0.9911 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.948e-05/0.01181, allocations: 55.36 kB / 0.9912 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.558e-05/0.0119, allocations: 11.98 kB / 0.9912 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.289e-05/0.01194, allocations: 16.48 kB / 0.9912 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of SimCode: time 4.2e-07/0.01194, allocations: 0 / 0.9912 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of Templates: time 0.004793/0.01674, allocations: 1.579 MB / 0.9928 GB, free: 4 kB / 0.9356 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.843929756432772]