Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001634/0.001634, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.002443/0.002443, allocations: 161.7 kB / 23.54 MB, free: 0.8867 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 1.443/1.443, allocations: 177.2 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.658/2.658, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.416e-05, allocations: 3.734 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001713/0.001737, allocations: 0.5514 MB / 0.7869 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001879/0.003616, allocations: 1.221 MB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.892e-05/0.003635, allocations: 0.75 kB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 8.492e-05/0.00372, allocations: 0 / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.335e-05/0.003763, allocations: 4.875 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006218/0.004385, allocations: 188.5 kB / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.474e-05/0.004449, allocations: 19.92 kB / 0.7883 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.971e-05/0.004479, allocations: 4 kB / 0.7883 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.173e-05/0.004521, allocations: 9.234 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.761e-05/0.004558, allocations: 4 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.004572, allocations: 0 / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004452/0.005017, allocations: 225.2 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.336e-05/0.005051, allocations: 0 / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.005078, allocations: 4 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003869/0.005464, allocations: 219.4 kB / 0.7887 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.005467, allocations: 3.938 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.21e-07/0.005467, allocations: 0.9375 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.005471, allocations: 0 / 0.7887 GB, free: 10.39 MB / 0.7448 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.0004137/0.005884, allocations: 294.5 kB / 0.789 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.00592, allocations: 12.03 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.949e-05/0.005999, allocations: 81.61 kB / 0.7891 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.006161, allocations: 181.1 kB / 0.7893 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-05/0.006255, allocations: 158.9 kB / 0.7894 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.969e-05/0.006344, allocations: 156 kB / 0.7896 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.161e-05/0.006426, allocations: 101.5 kB / 0.7897 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.142e-05/0.006468, allocations: 75.47 kB / 0.7898 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.317e-05/0.006551, allocations: 156 kB / 0.7899 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.031e-05/0.006631, allocations: 150.6 kB / 0.7901 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.618e-05/0.006727, allocations: 158.5 kB / 0.7902 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.007085, allocations: 409.5 kB / 0.7906 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.007201, allocations: 166.6 kB / 0.7908 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.029e-05/0.007251, allocations: 80.14 kB / 0.7908 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.56e-05/0.007296, allocations: 79.28 kB / 0.7909 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.24e-05/0.007369, allocations: 116.5 kB / 0.791 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.007369, allocations: 0 / 0.791 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.1e-05/0.00745, allocations: 25.7 kB / 0.791 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.604e-05/0.007537, allocations: 134.6 kB / 0.7912 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.007674, allocations: 101.8 kB / 0.7913 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.007696, allocations: 25.7 kB / 0.7913 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.844e-05/0.007755, allocations: 88.08 kB / 0.7914 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/0.007757, allocations: 0 / 0.7914 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.007803, allocations: 18.42 kB / 0.7914 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.007976, allocations: 318.8 kB / 0.7917 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.578e-05/0.008002, allocations: 5.656 kB / 0.7917 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.99e-05/0.008072, allocations: 63.39 kB / 0.7918 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.612e-05/0.008128, allocations: 28.78 kB / 0.7918 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.008129, allocations: 1.156 kB / 0.7918 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001499/0.008279, allocations: 45.69 kB / 0.7918 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.008295, allocations: 9.594 kB / 0.7918 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.0083, allocations: 0 / 0.7918 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.008315, allocations: 0 / 0.7918 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.316e-06/0.008319, allocations: 3.938 kB / 0.7918 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.008323, allocations: 0 / 0.7918 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.869e-05/0.008402, allocations: 5.906 kB / 0.7919 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.008419, allocations: 3.984 kB / 0.7919 GB, free: 7.027 MB / 0.7448 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.0001302/0.00855, allocations: 185.2 kB / 0.792 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.00865, allocations: 116.9 kB / 0.7921 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.733e-05/0.008717, allocations: 108.8 kB / 0.7922 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001002/0.008817, allocations: 180.2 kB / 0.7924 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001051/0.008922, allocations: 184.7 kB / 0.7926 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-05/0.009021, allocations: 181 kB / 0.7928 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.009359, allocations: 360.8 kB / 0.7931 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.478e-05/0.009414, allocations: 105.5 kB / 0.7932 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-05/0.009472, allocations: 106.3 kB / 0.7933 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/0.009576, allocations: 180.3 kB / 0.7935 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.913e-05/0.009675, allocations: 176.3 kB / 0.7937 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.289e-05/0.009768, allocations: 184.2 kB / 0.7938 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-05/0.009862, allocations: 180.8 kB / 0.794 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.01005, allocations: 309.1 kB / 0.7943 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.158e-05/0.01012, allocations: 104.9 kB / 0.7944 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.01022, allocations: 192.2 kB / 0.7946 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-05/0.01032, allocations: 101 kB / 0.7947 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.961e-05/0.01042, allocations: 185.3 kB / 0.7949 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.528e-05/0.01048, allocations: 105 kB / 0.795 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.817e-05/0.01053, allocations: 83.45 kB / 0.795 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.01053, allocations: 5.25 kB / 0.795 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003682/0.0109, allocations: 67.7 kB / 0.7951 GB, free: 3.52 MB / 0.7448 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.0009813/0.01188, allocations: 405.4 kB / 0.7955 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.034e-05/0.01196, allocations: 11.94 kB / 0.7955 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01197, allocations: 0 / 0.7955 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.01197, allocations: 0 / 0.7955 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.0124, allocations: 460.5 kB / 0.7959 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.0127, allocations: 176 kB / 0.7961 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.366e-05/0.01276, allocations: 58.8 kB / 0.7962 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.517e-05/0.01284, allocations: 11.98 kB / 0.7962 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.23e-05/0.01289, allocations: 16.48 kB / 0.7962 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.01289, allocations: 0 / 0.7962 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of Templates: time 0.004903/0.01779, allocations: 1.598 MB / 0.7978 GB, free: 0.8789 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.35055171395652]