Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001381/0.001381, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001468/0.001468, allocations: 219 kB / 22.99 MB, free: 4.914 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] 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 3.204/3.204, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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_8.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 68.89 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3868, allocations: 181.9 MB / 1.365 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002208/0.389, allocations: 0.5481 MB / 1.365 GB, free: 13.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002034/0.3911, allocations: 1.205 MB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.403e-05/0.3911, allocations: 4 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.3912, allocations: 4 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.688e-05/0.3913, allocations: 3.938 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006884/0.3919, allocations: 179.4 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.504e-05/0.392, allocations: 19.94 kB / 1.367 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.3921, allocations: 3.984 kB / 1.367 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.777e-05/0.3921, allocations: 8 kB / 1.367 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.333e-05/0.3921, allocations: 15.91 kB / 1.367 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.3922, allocations: 0 / 1.367 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004339/0.3926, allocations: 207.7 kB / 1.367 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.966e-05/0.3926, allocations: 4 kB / 1.367 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.3927, allocations: 7.969 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003966/0.3931, allocations: 191.5 kB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3931, allocations: 3.938 kB / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3931, allocations: 0 / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.361e-06/0.3931, allocations: 4 kB / 1.367 GB, free: 11.24 MB / 1.061 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.0004543/0.3935, allocations: 297.8 kB / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.3936, allocations: 8.031 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.977e-05/0.3937, allocations: 80.22 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.3938, allocations: 181.8 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.184e-05/0.3939, allocations: 158.9 kB / 1.368 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.753e-05/0.394, allocations: 150.9 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.618e-05/0.3941, allocations: 109 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.471e-05/0.3941, allocations: 79.28 kB / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.199e-05/0.3942, allocations: 150.6 kB / 1.368 GB, free: 9.984 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.594e-05/0.3943, allocations: 150.6 kB / 1.368 GB, free: 9.836 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.903e-05/0.3943, allocations: 154.6 kB / 1.368 GB, free: 9.684 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.3947, allocations: 409.5 kB / 1.369 GB, free: 9.254 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.3948, allocations: 173.1 kB / 1.369 GB, free: 9.074 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.134e-05/0.3948, allocations: 80.14 kB / 1.369 GB, free: 8.992 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.264e-05/0.3949, allocations: 79.28 kB / 1.369 GB, free: 8.914 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.855e-05/0.3949, allocations: 109.8 kB / 1.369 GB, free: 8.797 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.3949, allocations: 3.938 kB / 1.369 GB, free: 8.793 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 9.241e-05/0.395, allocations: 29.64 kB / 1.369 GB, free: 8.758 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/0.3951, allocations: 130.6 kB / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.3952, allocations: 109.8 kB / 1.369 GB, free: 8.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.3952, allocations: 29.7 kB / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.3953, allocations: 80.14 kB / 1.37 GB, free: 8.383 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.3953, allocations: 0 / 1.37 GB, free: 8.383 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.3953, allocations: 17.72 kB / 1.37 GB, free: 8.359 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3955, allocations: 318.8 kB / 1.37 GB, free: 8.039 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.086e-05/0.3955, allocations: 8 kB / 1.37 GB, free: 8.031 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.426e-05/0.3956, allocations: 59.39 kB / 1.37 GB, free: 7.961 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.826e-05/0.3956, allocations: 20.86 kB / 1.37 GB, free: 7.938 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3956, allocations: 4 kB / 1.37 GB, free: 7.934 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001581/0.3958, allocations: 61.7 kB / 1.37 GB, free: 7.867 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3958, allocations: 7.938 kB / 1.37 GB, free: 7.859 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3958, allocations: 0 / 1.37 GB, free: 7.859 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3958, allocations: 0 / 1.37 GB, free: 7.859 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.332e-06/0.3958, allocations: 0 / 1.37 GB, free: 7.859 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3958, allocations: 4 kB / 1.37 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.243e-05/0.3959, allocations: 0 / 1.37 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.3959, allocations: 4 kB / 1.37 GB, free: 7.852 MB / 1.061 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.0001248/0.3961, allocations: 193.8 kB / 1.37 GB, free: 7.652 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.868e-05/0.3961, allocations: 112.9 kB / 1.37 GB, free: 7.535 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.524e-05/0.3962, allocations: 116 kB / 1.37 GB, free: 7.41 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.489e-05/0.3963, allocations: 180.3 kB / 1.371 GB, free: 7.227 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.344e-05/0.3964, allocations: 180.3 kB / 1.371 GB, free: 7.043 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.037e-05/0.3965, allocations: 184.2 kB / 1.371 GB, free: 6.855 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.3967, allocations: 356.9 kB / 1.371 GB, free: 6.469 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.381e-05/0.3967, allocations: 104.9 kB / 1.371 GB, free: 6.359 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.947e-05/0.3968, allocations: 105 kB / 1.372 GB, free: 6.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-05/0.3969, allocations: 180.2 kB / 1.372 GB, free: 6.066 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.98e-05/0.397, allocations: 184.1 kB / 1.372 GB, free: 5.879 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.118e-05/0.397, allocations: 184.3 kB / 1.372 GB, free: 5.691 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.385e-05/0.3971, allocations: 180.2 kB / 1.372 GB, free: 5.508 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.3973, allocations: 311.8 kB / 1.373 GB, free: 5.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.3973, allocations: 105 kB / 1.373 GB, free: 5.07 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.989e-05/0.3974, allocations: 184.1 kB / 1.373 GB, free: 4.883 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.911e-05/0.3975, allocations: 108.9 kB / 1.373 GB, free: 4.77 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.721e-05/0.3976, allocations: 180.2 kB / 1.373 GB, free: 4.586 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.368e-05/0.3977, allocations: 104.9 kB / 1.373 GB, free: 4.477 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.363e-05/0.3977, allocations: 83.28 kB / 1.373 GB, free: 4.395 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3977, allocations: 0 / 1.373 GB, free: 4.395 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003491/0.3981, allocations: 59.73 kB / 1.373 GB, free: 4.336 MB / 1.061 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.0009604/0.399, allocations: 393.5 kB / 1.374 GB, free: 4.004 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.3991, allocations: 19.97 kB / 1.374 GB, free: 3.984 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3991, allocations: 0 / 1.374 GB, free: 3.984 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.3991, allocations: 0 / 1.374 GB, free: 3.984 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.3996, allocations: 463.8 kB / 1.374 GB, free: 3.527 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.3999, allocations: 189.9 kB / 1.374 GB, free: 3.309 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.701e-05/0.3999, allocations: 55.36 kB / 1.374 GB, free: 3.234 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.4, allocations: 15.42 kB / 1.374 GB, free: 3.219 MB / 1.061 GB Notification: Performance of SimCode: time 5.91e-07/0.4, allocations: 0 / 1.374 GB, free: 3.219 MB / 1.061 GB Notification: Performance of Templates: time 0.004154/0.4042, allocations: 1.558 MB / 1.376 GB, free: 1.668 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.819193057250232]