Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007093/0.007093, allocations: 101.9 kB / 15.73 MB, free: 5.492 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.001597/0.001597, allocations: 186.9 kB / 16.67 MB, free: 5.422 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.239/2.239, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.89 kB / 0.9508 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9596/0.9615, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001749/0.9633, allocations: 0.5333 MB / 1.088 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.9648, allocations: 1.131 MB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.723e-05/0.9649, allocations: 0 / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.437e-05/0.965, allocations: 1.547 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.251e-05/0.965, allocations: 9.625 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.9655, allocations: 171.9 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.468e-05/0.9656, allocations: 15.94 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.087e-05/0.9657, allocations: 2.672 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.835e-05/0.9657, allocations: 18.78 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.486e-05/0.9657, allocations: 5.562 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.9658, allocations: 0 / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.9662, allocations: 198 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.068e-05/0.9662, allocations: 3 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.9663, allocations: 11.83 kB / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003488/0.9666, allocations: 195.5 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.9666, allocations: 0 / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9666, allocations: 0 / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.9666, allocations: 0.9688 kB / 1.09 GB, free: 4.148 MB / 0.8575 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.0003442/0.967, allocations: 372.3 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.967, allocations: 10.28 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.585e-05/0.9671, allocations: 77.34 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.9672, allocations: 242.3 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/0.9673, allocations: 156.3 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.9673, allocations: 152.5 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.983e-05/0.9673, allocations: 110.5 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.9674, allocations: 79.28 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.9674, allocations: 151.4 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.914e-05/0.9674, allocations: 152.1 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.235e-05/0.9675, allocations: 154.5 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.9677, allocations: 457.2 kB / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.957e-05/0.9677, allocations: 166.3 kB / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.9677, allocations: 80.14 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.9678, allocations: 77 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.9678, allocations: 110.9 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.9678, allocations: 4 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.313e-05/0.9679, allocations: 41.06 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.9679, allocations: 126.7 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.422e-05/0.968, allocations: 103.3 kB / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.968, allocations: 29.7 kB / 1.093 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.7e-05/0.9681, allocations: 81.78 kB / 1.093 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.9681, allocations: 1.062 kB / 1.093 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.9681, allocations: 21.45 kB / 1.093 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.9682, allocations: 316.4 kB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.177e-05/0.9683, allocations: 10.53 kB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.607e-05/0.9683, allocations: 10.56 kB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.516e-05/0.9684, allocations: 24.06 kB / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9684, allocations: 3.938 kB / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001589/0.9686, allocations: 58.48 kB / 1.093 GB, free: 16.74 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.9686, allocations: 6.109 kB / 1.093 GB, free: 16.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.9686, allocations: 0 / 1.093 GB, free: 16.74 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.9686, allocations: 5.219 kB / 1.093 GB, free: 16.74 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.974e-06/0.9686, allocations: 4.641 kB / 1.093 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.9687, allocations: 1.219 kB / 1.093 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.726e-05/0.9687, allocations: 1.531 kB / 1.093 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.9688, allocations: 3.609 kB / 1.093 GB, free: 16.73 MB / 0.8731 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.0001232/0.9689, allocations: 184.8 kB / 1.094 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.275e-05/0.969, allocations: 106.8 kB / 1.094 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.853e-05/0.969, allocations: 118.3 kB / 1.094 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.36e-05/0.9691, allocations: 178.5 kB / 1.094 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-05/0.9692, allocations: 181.6 kB / 1.094 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.072e-05/0.9693, allocations: 177.8 kB / 1.094 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.9696, allocations: 402.9 kB / 1.095 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-05/0.9696, allocations: 110.6 kB / 1.095 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.662e-05/0.9697, allocations: 110.3 kB / 1.095 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.105e-05/0.9698, allocations: 182.3 kB / 1.095 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.064e-05/0.9699, allocations: 177.7 kB / 1.095 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.014e-05/0.9699, allocations: 177.8 kB / 1.095 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.217e-05/0.97, allocations: 186.3 kB / 1.096 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.9702, allocations: 305 kB / 1.096 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.431e-05/0.9703, allocations: 192.8 kB / 1.096 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.9704, allocations: 186 kB / 1.096 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.298e-05/0.9705, allocations: 102.7 kB / 1.096 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.602e-05/0.9706, allocations: 182.5 kB / 1.096 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.078e-05/0.9707, allocations: 105.7 kB / 1.097 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.114e-05/0.9707, allocations: 81.28 kB / 1.097 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9707, allocations: 0 / 1.097 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004307/0.9712, allocations: 59.81 kB / 1.097 GB, free: 13.16 MB / 0.8731 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.0008542/0.972, allocations: 382.9 kB / 1.097 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.9721, allocations: 9.391 kB / 1.097 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.9722, allocations: 0.8125 kB / 1.097 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.9722, allocations: 0 / 1.097 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.9726, allocations: 462.6 kB / 1.098 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.9729, allocations: 166.7 kB / 1.098 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.9732, allocations: 0.6747 MB / 1.098 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001023/0.9733, allocations: 7.781 kB / 1.098 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.772e-05/0.9734, allocations: 18.75 kB / 1.098 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.9734, allocations: 0 / 1.098 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of Templates: time 0.005193/0.9786, allocations: 1.517 MB / 1.1 GB, free: 11.41 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches