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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001009/0.001009, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001388/0.001388, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.865/2.865, allocations: 437.7 MB / 0.7117 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004438/0.000444, allocations: 8 kB / 0.8722 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8607/0.8612, allocations: 153.8 MB / 1.022 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.0008757/0.8621, allocations: 263.8 kB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.8638, allocations: 1.047 MB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.592e-05/0.8639, allocations: 4 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.864, allocations: 7.984 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.171e-05/0.864, allocations: 0 / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.8646, allocations: 131.7 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.15e-05/0.8646, allocations: 19.91 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.881e-05/0.8647, allocations: 0 / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.354e-05/0.8647, allocations: 15.98 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.289e-05/0.8648, allocations: 4 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.8648, allocations: 0 / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004441/0.8653, allocations: 167.7 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.593e-05/0.8653, allocations: 15.92 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.8654, allocations: 25.7 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.8657, allocations: 135.8 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.8657, allocations: 3.984 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8657, allocations: 0 / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.8657, allocations: 4 kB / 1.024 GB, free: 14.2 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.0004076/0.8661, allocations: 359.3 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.8662, allocations: 8.562 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.288e-05/0.8662, allocations: 75.28 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.8664, allocations: 256.3 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.718e-05/0.8665, allocations: 154.5 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.353e-05/0.8666, allocations: 150.6 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.888e-05/0.8667, allocations: 108.9 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/0.8667, allocations: 75.28 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.368e-05/0.8668, allocations: 154.6 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.606e-05/0.8669, allocations: 150.6 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.653e-05/0.8669, allocations: 150.6 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.8673, allocations: 449.9 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.8675, allocations: 181.1 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.648e-05/0.8675, allocations: 92.09 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.8676, allocations: 75.28 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.903e-05/0.8676, allocations: 109.8 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.163e-06/0.8676, allocations: 0 / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.7e-05/0.8677, allocations: 29.69 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/0.8678, allocations: 134.6 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.868, allocations: 101.9 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.868, allocations: 25.7 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.8681, allocations: 88.11 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.8681, allocations: 0 / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/0.8681, allocations: 0 / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.8682, allocations: 318.8 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.88e-05/0.8683, allocations: 8 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.775e-05/0.8683, allocations: 11.98 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.194e-05/0.8683, allocations: 8.094 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.8683, allocations: 0 / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001661/0.8685, allocations: 53.55 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.8685, allocations: 8 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.8686, allocations: 0 / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.8686, allocations: 0 / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.599e-06/0.8686, allocations: 7.922 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.8686, allocations: 0 / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.172e-05/0.8687, allocations: 8 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.8687, allocations: 7.969 kB / 1.027 GB, free: 10.68 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.8688, allocations: 189.1 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.8689, allocations: 104.9 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.865e-05/0.869, allocations: 112.1 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.726e-05/0.8691, allocations: 180.2 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.077e-05/0.8692, allocations: 180.3 kB / 1.028 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.901e-05/0.8693, allocations: 184.2 kB / 1.028 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.8695, allocations: 401.2 kB / 1.029 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-05/0.8696, allocations: 104.9 kB / 1.029 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.337e-05/0.8696, allocations: 105 kB / 1.029 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.812e-05/0.8697, allocations: 180.3 kB / 1.029 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.948e-05/0.8698, allocations: 192.1 kB / 1.029 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-05/0.8698, allocations: 176.3 kB / 1.029 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.884e-05/0.8699, allocations: 180.2 kB / 1.03 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.87, allocations: 303.9 kB / 1.03 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.512e-05/0.8701, allocations: 194 kB / 1.03 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.027e-05/0.8702, allocations: 176.3 kB / 1.03 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.026e-05/0.8703, allocations: 108.9 kB / 1.03 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/0.8704, allocations: 180.3 kB / 1.03 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.8704, allocations: 109.2 kB / 1.031 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.845e-05/0.8705, allocations: 83.27 kB / 1.031 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8705, allocations: 0 / 1.031 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003924/0.8709, allocations: 63.92 kB / 1.031 GB, free: 7.027 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007594/0.8717, allocations: 386.8 kB / 1.031 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.84e-05/0.8718, allocations: 16 kB / 1.031 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.8718, allocations: 0 / 1.031 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.545e-06/0.8718, allocations: 0 / 1.031 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.8722, allocations: 0.5194 MB / 1.032 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/0.8725, allocations: 166 kB / 1.032 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.8727, allocations: 0.677 MB / 1.032 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.783e-05/0.8728, allocations: 15.92 kB / 1.032 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.8729, allocations: 11.44 kB / 1.032 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of SimCode: time 8.61e-07/0.8729, allocations: 0 / 1.032 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of Templates: time 0.00431/0.8772, allocations: 1.482 MB / 1.034 GB, free: 3.773 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