Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.0008894/0.0008894, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005676/0.005676, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.581/1.581, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.717/2.717, allocations: 437.8 MB / 0.7121 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.000372, allocations: 8.281 kB / 0.8728 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8364/0.8368, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.0009057/0.8378, allocations: 267.8 kB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.8394, allocations: 1.101 MB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.647e-05/0.8395, allocations: 0 / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.625e-05/0.8396, allocations: 7.984 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.453e-05/0.8396, allocations: 3.938 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.84, allocations: 143.7 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.974e-05/0.8401, allocations: 11.98 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.8402, allocations: 0 / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.226e-05/0.8402, allocations: 15.98 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.171e-05/0.8403, allocations: 7.938 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.8403, allocations: 0 / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003471/0.8406, allocations: 183.7 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.6e-05/0.8407, allocations: 4 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.636e-05/0.8407, allocations: 33.64 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.841, allocations: 187.7 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.841, allocations: 0 / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.713e-06/0.841, allocations: 3.938 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.841, allocations: 0 / 1.025 GB, free: 13.91 MB / 0.7794 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.000355/0.8414, allocations: 371.4 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.8414, allocations: 8.031 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.652e-05/0.8415, allocations: 76.22 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.8417, allocations: 249.6 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.875e-05/0.8417, allocations: 154.9 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.8419, allocations: 154.9 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.527e-05/0.8419, allocations: 105.1 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.442e-05/0.842, allocations: 79.28 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-05/0.8421, allocations: 150.6 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.382e-05/0.8421, allocations: 154.6 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.981e-05/0.8422, allocations: 150.6 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002735/0.8425, allocations: 457.9 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.665e-05/0.8426, allocations: 173.2 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.552e-05/0.8426, allocations: 84.08 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.8427, allocations: 83.27 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.8427, allocations: 109.8 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.8427, allocations: 4 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.347e-05/0.8428, allocations: 29.64 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.8429, allocations: 126.7 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.843, allocations: 105.8 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.843, allocations: 29.7 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/0.843, allocations: 80.14 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.8431, allocations: 0 / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.8431, allocations: 9.719 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.8432, allocations: 318.8 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.134e-05/0.8432, allocations: 7.984 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.456e-05/0.8433, allocations: 8 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.307e-05/0.8433, allocations: 24.94 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8433, allocations: 4 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00013/0.8435, allocations: 57.47 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.8435, allocations: 4 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.8435, allocations: 4 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.8435, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.8435, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.8435, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.638e-05/0.8436, allocations: 3.984 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.8436, allocations: 4 kB / 1.028 GB, free: 10.37 MB / 0.7794 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.000101/0.8437, allocations: 193.6 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.8438, allocations: 108.9 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/0.8439, allocations: 108 kB / 1.029 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.387e-05/0.8439, allocations: 188.2 kB / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.749e-05/0.844, allocations: 180.2 kB / 1.029 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.79e-05/0.8441, allocations: 180.3 kB / 1.029 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.8443, allocations: 409.2 kB / 1.029 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.215e-05/0.8443, allocations: 101 kB / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.8444, allocations: 108.9 kB / 1.03 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.345e-05/0.8445, allocations: 180.2 kB / 1.03 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.119e-05/0.8445, allocations: 180.3 kB / 1.03 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.906e-05/0.8446, allocations: 192.2 kB / 1.03 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.044e-05/0.8447, allocations: 180.2 kB / 1.03 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.8448, allocations: 304 kB / 1.031 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.568e-05/0.8449, allocations: 194 kB / 1.031 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.633e-05/0.845, allocations: 188.2 kB / 1.031 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.027e-05/0.8451, allocations: 101 kB / 1.031 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.593e-05/0.8451, allocations: 176.3 kB / 1.031 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-05/0.8452, allocations: 104.9 kB / 1.031 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.013e-05/0.8452, allocations: 87.27 kB / 1.031 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8452, allocations: 0 / 1.031 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003009/0.8455, allocations: 59.97 kB / 1.032 GB, free: 6.699 MB / 0.7794 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.0007109/0.8462, allocations: 380.7 kB / 1.032 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.68e-05/0.8463, allocations: 8 kB / 1.032 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8463, allocations: 4.062 kB / 1.032 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/0.8464, allocations: 336 / 1.032 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.8467, allocations: 0.5262 MB / 1.032 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.847, allocations: 167.8 kB / 1.033 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.8472, allocations: 0.6809 MB / 1.033 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.536e-05/0.8473, allocations: 11.98 kB / 1.033 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.8474, allocations: 15.42 kB / 1.033 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.8474, allocations: 0 / 1.033 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of Templates: time 0.003958/0.8513, allocations: 1.5 MB / 1.035 GB, free: 3.426 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches