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.008129/0.008129, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001835/0.001835, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.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.334/2.334, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 58.06 kB / 0.9508 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.335, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001765/0.3368, allocations: 0.5243 MB / 1.088 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.3384, allocations: 1.134 MB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.252e-05/0.3384, allocations: 0 / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.247e-05/0.3385, allocations: 8 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.458e-05/0.3385, allocations: 3.938 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.339, allocations: 163.5 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.775e-05/0.3391, allocations: 15.92 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.3391, allocations: 4 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.847e-05/0.3392, allocations: 19.97 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.789e-05/0.3392, allocations: 7.938 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.3392, allocations: 0 / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003382/0.3396, allocations: 199.7 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.206e-05/0.3396, allocations: 8 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.3397, allocations: 7.938 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.34, allocations: 183.7 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.34, allocations: 3.938 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.34, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.34, allocations: 0 / 1.09 GB, free: 15.21 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.0004135/0.3404, allocations: 371.5 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3404, allocations: 8.031 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.177e-05/0.3405, allocations: 76.22 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.3407, allocations: 247.6 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.881e-05/0.3407, allocations: 150.9 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/0.3408, allocations: 158.9 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.885e-05/0.3409, allocations: 109.1 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.3409, allocations: 79.28 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.523e-05/0.341, allocations: 150.6 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.408e-05/0.341, allocations: 154.5 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.903e-05/0.3411, allocations: 150.6 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.3414, allocations: 461.9 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.08e-05/0.3415, allocations: 169.2 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.138e-05/0.3415, allocations: 80.14 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.255e-05/0.3416, allocations: 75.28 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.567e-05/0.3417, allocations: 121.8 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.3417, allocations: 4 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.278e-05/0.3417, allocations: 33.64 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.3418, allocations: 126.7 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.3419, allocations: 105.8 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.342, allocations: 29.69 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/0.342, allocations: 80.14 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-06/0.342, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.3421, allocations: 17.72 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3422, allocations: 318.8 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.477e-05/0.3422, allocations: 11.92 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.702e-05/0.3423, allocations: 8 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.013e-05/0.3423, allocations: 24.84 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3423, allocations: 0 / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001379/0.3425, allocations: 53.56 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3425, allocations: 8 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3425, allocations: 128 / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3425, allocations: 4 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.3425, allocations: 0 / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.3425, allocations: 3.984 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.209e-05/0.3426, allocations: 4 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.3426, allocations: 0 / 1.093 GB, free: 11.65 MB / 0.8575 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 9.902e-05/0.3427, allocations: 185.1 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/0.3428, allocations: 112.9 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.301e-05/0.3429, allocations: 112.1 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.6e-05/0.3429, allocations: 184.3 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.037e-05/0.343, allocations: 180.2 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.496e-05/0.3431, allocations: 176.3 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.3433, allocations: 409.2 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.242e-05/0.3433, allocations: 101 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-05/0.3434, allocations: 112.9 kB / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.098e-05/0.3434, allocations: 184.2 kB / 1.095 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.879e-05/0.3435, allocations: 180.2 kB / 1.095 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.431e-05/0.3436, allocations: 188.2 kB / 1.095 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-05/0.3436, allocations: 176.3 kB / 1.096 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.3438, allocations: 307.8 kB / 1.096 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.421e-05/0.3439, allocations: 197.9 kB / 1.096 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.671e-05/0.3439, allocations: 180.2 kB / 1.096 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.344, allocations: 101 kB / 1.096 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.037e-05/0.3441, allocations: 180.3 kB / 1.096 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.513e-05/0.3442, allocations: 108.9 kB / 1.097 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.027e-05/0.3442, allocations: 87.45 kB / 1.097 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3442, allocations: 0 / 1.097 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003174/0.3445, allocations: 59.97 kB / 1.097 GB, free: 7.98 MB / 0.8575 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.0007195/0.3453, allocations: 383.1 kB / 1.097 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.305e-05/0.3454, allocations: 8 kB / 1.097 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3454, allocations: 0 / 1.097 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.306e-06/0.3454, allocations: 0 / 1.097 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.3457, allocations: 469.1 kB / 1.098 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.3459, allocations: 164.3 kB / 1.098 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.3462, allocations: 0.6768 MB / 1.098 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.282e-05/0.3463, allocations: 7.938 kB / 1.098 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.3463, allocations: 15.42 kB / 1.098 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.3463, allocations: 0 / 1.098 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of Templates: time 0.00363/0.35, allocations: 1.521 MB / 1.1 GB, free: 4.766 MB / 0.8575 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