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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008965/0.0008963, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006808/0.006808, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.837/2.837, allocations: 462.7 MB / 0.7364 GB, free: 320 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004115/0.0004116, allocations: 8.719 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3814, allocations: 159.6 MB / 1.059 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.0009413/0.3824, allocations: 266.2 kB / 1.059 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.3842, allocations: 1.12 MB / 1.06 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.781e-05/0.3842, allocations: 0 / 1.06 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.479e-05/0.3843, allocations: 0 / 1.06 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.308e-05/0.3844, allocations: 4 kB / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.3848, allocations: 135.7 kB / 1.06 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.105e-05/0.3848, allocations: 23.91 kB / 1.06 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.08e-05/0.3849, allocations: 0 / 1.06 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.562e-05/0.3849, allocations: 8 kB / 1.06 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.034e-05/0.385, allocations: 15.92 kB / 1.06 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.385, allocations: 0 / 1.06 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003416/0.3854, allocations: 179.7 kB / 1.06 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.962e-05/0.3854, allocations: 7.984 kB / 1.06 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.3855, allocations: 29.7 kB / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.3857, allocations: 191.7 kB / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3858, allocations: 0 / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.338e-06/0.3858, allocations: 0 / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.3858, allocations: 3.938 kB / 1.061 GB, free: 3.547 MB / 0.8106 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.0003982/0.3862, allocations: 359.5 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.3862, allocations: 12.03 kB / 1.061 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.708e-05/0.3863, allocations: 76.22 kB / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.3865, allocations: 247.9 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.359e-05/0.3866, allocations: 154.9 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.735e-05/0.3866, allocations: 158.9 kB / 1.062 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.544e-05/0.3867, allocations: 105.1 kB / 1.062 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/0.3867, allocations: 75.28 kB / 1.062 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.438e-05/0.3868, allocations: 150.6 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.808e-05/0.3869, allocations: 154.6 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.524e-05/0.3869, allocations: 154.6 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.3872, allocations: 453.9 kB / 1.063 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.835e-05/0.3873, allocations: 173.1 kB / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.226e-05/0.3874, allocations: 88.14 kB / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.3874, allocations: 75.28 kB / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.3875, allocations: 109.8 kB / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 2.134e-06/0.3875, allocations: 3.984 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.37e-05/0.3875, allocations: 33.64 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.3876, allocations: 126.7 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.3877, allocations: 109.8 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.3878, allocations: 25.7 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.3878, allocations: 88.05 kB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.3878, allocations: 0 / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.3878, allocations: 9.719 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.388, allocations: 318.8 kB / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.782e-05/0.388, allocations: 8 kB / 1.064 GB, free: 124 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.763e-05/0.3881, allocations: 11.98 kB / 1.064 GB, free: 112 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.538e-05/0.3881, allocations: 16.95 kB / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3881, allocations: 4 kB / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001334/0.3882, allocations: 61.55 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3883, allocations: 5.406 kB / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3883, allocations: 0 / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.3883, allocations: 0 / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.283e-06/0.3883, allocations: 0 / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3883, allocations: 4 kB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.118e-05/0.3884, allocations: 0 / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.3884, allocations: 4 kB / 1.064 GB, free: 8 kB / 0.8106 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.0001271/0.3886, allocations: 185.2 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.786e-05/0.3886, allocations: 116.9 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.329e-05/0.3887, allocations: 108 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.172e-05/0.3888, allocations: 176.3 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.85e-05/0.3889, allocations: 180.2 kB / 1.065 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.829e-05/0.389, allocations: 184.3 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.3892, allocations: 405.3 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-05/0.3892, allocations: 108.9 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.463e-05/0.3893, allocations: 108.9 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.001e-05/0.3894, allocations: 184.2 kB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.336e-05/0.3894, allocations: 184.2 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.208e-05/0.3895, allocations: 180.3 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-05/0.3896, allocations: 184.2 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.3897, allocations: 303.8 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.339e-05/0.3898, allocations: 186 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.975e-05/0.3899, allocations: 180.3 kB / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.39, allocations: 112.9 kB / 1.067 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/0.3901, allocations: 176.3 kB / 1.067 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.094e-05/0.3901, allocations: 104.9 kB / 1.067 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.989e-05/0.3901, allocations: 83.28 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3902, allocations: 0 / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003203/0.3905, allocations: 55.89 kB / 1.067 GB, free: 12.36 MB / 0.8262 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.0006953/0.3912, allocations: 392.8 kB / 1.068 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.704e-05/0.3913, allocations: 15.98 kB / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3913, allocations: 0 / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.3913, allocations: 3.938 kB / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.3917, allocations: 0.5263 MB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.392, allocations: 170 kB / 1.068 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.3922, allocations: 0.6731 MB / 1.069 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.743e-05/0.3923, allocations: 7.984 kB / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.3924, allocations: 11.44 kB / 1.069 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.3924, allocations: 0 / 1.069 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of Templates: time 0.004169/0.3966, allocations: 1.488 MB / 1.07 GB, free: 9.105 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) 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/jenkins/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) Reference file matches