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.002503/0.002503, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002828/0.002828, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.633/1.633, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.818/2.818, allocations: 359 MB / 0.6048 GB, free: 10.96 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.553e-06/1.553e-06, allocations: 0 / 0.7864 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.763e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001689/0.001717, allocations: 0.5596 MB / 0.7869 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001875/0.003592, allocations: 1.222 MB / 0.7881 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.003616, allocations: 0 / 0.7881 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.003721, allocations: 7.984 kB / 0.7881 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.457e-05/0.003766, allocations: 3.984 kB / 0.7881 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005728/0.004339, allocations: 184.8 kB / 0.7883 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.426e-05/0.004403, allocations: 15.92 kB / 0.7883 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.034e-05/0.004433, allocations: 5.406 kB / 0.7883 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.777e-05/0.004471, allocations: 11.98 kB / 0.7883 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.145e-05/0.004512, allocations: 7.984 kB / 0.7883 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.004528, allocations: 1.25 kB / 0.7883 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004612/0.004989, allocations: 215.5 kB / 0.7885 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.786e-05/0.005027, allocations: 3.984 kB / 0.7885 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.005052, allocations: 8 kB / 0.7885 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000378/0.00543, allocations: 220.4 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.005433, allocations: 0 / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.31e-07/0.005433, allocations: 0 / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.005438, allocations: 1.312 kB / 0.7888 GB, free: 10.25 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.0004654/0.005903, allocations: 399.8 kB / 0.7891 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.005949, allocations: 12.03 kB / 0.7892 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.006055, allocations: 121.8 kB / 0.7893 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.006249, allocations: 235.8 kB / 0.7895 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.006377, allocations: 242.7 kB / 0.7897 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.006508, allocations: 242.8 kB / 0.79 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.006611, allocations: 151 kB / 0.7901 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.339e-05/0.006674, allocations: 119.4 kB / 0.7902 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.006802, allocations: 242.5 kB / 0.7904 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/0.006932, allocations: 242.4 kB / 0.7907 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.007056, allocations: 242.4 kB / 0.7909 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.007482, allocations: 0.5773 MB / 0.7915 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.007647, allocations: 261.4 kB / 0.7917 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.967e-05/0.007717, allocations: 126.9 kB / 0.7918 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.595e-05/0.007782, allocations: 125.9 kB / 0.792 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.717e-05/0.00788, allocations: 152.6 kB / 0.7921 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.00788, allocations: 0 / 0.7921 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.076e-05/0.007961, allocations: 33.62 kB / 0.7921 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.008064, allocations: 182.5 kB / 0.7923 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.008211, allocations: 157.9 kB / 0.7925 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.008232, allocations: 25.7 kB / 0.7925 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.467e-05/0.008317, allocations: 138.9 kB / 0.7926 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.008319, allocations: 0.7188 kB / 0.7926 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.008365, allocations: 19.38 kB / 0.7926 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002492/0.008614, allocations: 0.4889 MB / 0.7931 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.017e-05/0.008634, allocations: 1.375 kB / 0.7931 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.167e-05/0.008696, allocations: 59.39 kB / 0.7932 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.859e-05/0.008745, allocations: 20.84 kB / 0.7932 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.008746, allocations: 0 / 0.7932 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000148/0.008894, allocations: 49.62 kB / 0.7932 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.008908, allocations: 9.344 kB / 0.7933 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.008913, allocations: 0 / 0.7933 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.008924, allocations: 0 / 0.7933 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.986e-06/0.008927, allocations: 3.938 kB / 0.7933 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.008931, allocations: 1.75 kB / 0.7933 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.048e-05/0.008991, allocations: 0 / 0.7933 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.009008, allocations: 4 kB / 0.7933 GB, free: 5.422 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.0001685/0.009177, allocations: 283.7 kB / 0.7935 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.009278, allocations: 150 kB / 0.7937 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.581e-05/0.009363, allocations: 152 kB / 0.7938 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000132/0.009495, allocations: 268.1 kB / 0.7941 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001461/0.009642, allocations: 276.5 kB / 0.7943 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001495/0.009791, allocations: 269.9 kB / 0.7946 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003304/0.01012, allocations: 491.9 kB / 0.7951 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.27e-05/0.0102, allocations: 156.8 kB / 0.7952 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.485e-05/0.01028, allocations: 149 kB / 0.7954 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001435/0.01042, allocations: 272 kB / 0.7956 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000319/0.01074, allocations: 274.1 kB / 0.7959 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001418/0.01088, allocations: 268 kB / 0.7961 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001299/0.01101, allocations: 264.1 kB / 0.7964 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.01129, allocations: 455.9 kB / 0.7968 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.25e-05/0.01137, allocations: 144.9 kB / 0.797 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.01153, allocations: 272.7 kB / 0.7972 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.01164, allocations: 144.9 kB / 0.7974 GB, free: 1.047 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.01179, allocations: 272.7 kB / 0.7976 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.931e-05/0.01187, allocations: 157.5 kB / 0.7978 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.297e-05/0.01194, allocations: 127.2 kB / 0.7979 GB, free: 500 kB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01194, allocations: 0.5312 kB / 0.7979 GB, free: 500 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003325/0.01227, allocations: 61.14 kB / 0.7979 GB, free: 440 kB / 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.001283/0.01356, allocations: 443.6 kB / 0.7984 GB, free: 72 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.313e-05/0.01365, allocations: 24.53 kB / 0.7984 GB, free: 44 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/0.01366, allocations: 0 / 0.7984 GB, free: 44 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.01366, allocations: 3.438 kB / 0.7984 GB, free: 44 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/0.01423, allocations: 0.7061 MB / 0.7991 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002885/0.01452, allocations: 220.8 kB / 0.7993 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.788e-05/0.01459, allocations: 59.34 kB / 0.7994 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 5.539e-05/0.01464, allocations: 15.92 kB / 0.7994 GB, free: 15 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.943e-05/0.01469, allocations: 12.5 kB / 0.7994 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of SimCode: time 4.6e-07/0.01469, allocations: 0 / 0.7994 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of Templates: time 0.004968/0.01966, allocations: 1.597 MB / 0.8009 GB, free: 13.42 MB / 0.7605 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 240] 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.8374887419631705]