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.008088/0.008088, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001805/0.001805, allocations: 194.2 kB / 16.68 MB, free: 5.969 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.444/2.444, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 56.09 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8239/0.8253, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001867/0.8272, allocations: 0.5301 MB / 1.167 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001696/0.8289, allocations: 1.123 MB / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.393e-05/0.829, allocations: 3.938 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.386e-05/0.8291, allocations: 11.94 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.044e-05/0.8291, allocations: 0 / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005885/0.8297, allocations: 171.4 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.699e-05/0.8298, allocations: 19.97 kB / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.8299, allocations: 0 / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.55e-05/0.8299, allocations: 8 kB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.001e-05/0.8299, allocations: 11.98 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.83, allocations: 4 kB / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003871/0.8304, allocations: 199.6 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.339e-05/0.8304, allocations: 7.984 kB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.8304, allocations: 4 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.8307, allocations: 188 kB / 1.169 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.8308, allocations: 4 kB / 1.169 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8308, allocations: 0 / 1.169 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.8308, allocations: 0 / 1.169 GB, free: 1.547 MB / 0.8887 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.0003993/0.8312, allocations: 382.9 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.8312, allocations: 8.922 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.344e-05/0.8313, allocations: 76.22 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.8315, allocations: 247.6 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.676e-05/0.8315, allocations: 150.9 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.229e-05/0.8316, allocations: 154.9 kB / 1.17 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.156e-05/0.8317, allocations: 113.1 kB / 1.17 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.8317, allocations: 75.28 kB / 1.17 GB, free: 276 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.125e-05/0.8317, allocations: 154.5 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.114e-05/0.8318, allocations: 154.6 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.332e-05/0.8319, allocations: 150.6 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/0.8322, allocations: 453.9 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 6.692e-05/0.8322, allocations: 165.1 kB / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.029e-05/0.8323, allocations: 84.08 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.8323, allocations: 75.28 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.8323, allocations: 113.8 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.8323, allocations: 4 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 7.64e-05/0.8324, allocations: 33.73 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.8325, allocations: 126.7 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.8326, allocations: 109.8 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.8326, allocations: 25.7 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.8327, allocations: 88.06 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.8327, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.8327, allocations: 21.72 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.908e-05/0.8328, allocations: 314.8 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.611e-05/0.8329, allocations: 11.92 kB / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.695e-05/0.8329, allocations: 12 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.796e-05/0.8329, allocations: 20.84 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.833, allocations: 0 / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001257/0.8331, allocations: 53.62 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.8331, allocations: 8 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.8331, allocations: 128 / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.8331, allocations: 4 kB / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.8331, allocations: 0 / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.8331, allocations: 0 / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.566e-05/0.8332, allocations: 15.97 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.8333, allocations: 0 / 1.172 GB, free: 13.98 MB / 0.9044 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.93e-05/0.8334, allocations: 189.1 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/0.8334, allocations: 104.9 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.688e-05/0.8335, allocations: 116.1 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.937e-05/0.8335, allocations: 180.2 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.255e-05/0.8336, allocations: 180.3 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.276e-05/0.8337, allocations: 184.1 kB / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.8339, allocations: 401.3 kB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-05/0.8339, allocations: 109 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/0.834, allocations: 112.9 kB / 1.174 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.803e-05/0.834, allocations: 180.3 kB / 1.174 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-05/0.8341, allocations: 180.2 kB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.308e-05/0.8341, allocations: 180.2 kB / 1.174 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.191e-05/0.8342, allocations: 176.3 kB / 1.174 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.8343, allocations: 311.7 kB / 1.175 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.8344, allocations: 198 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.8345, allocations: 176.3 kB / 1.175 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.8345, allocations: 101 kB / 1.175 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.883e-05/0.8346, allocations: 184.2 kB / 1.175 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/0.8347, allocations: 109 kB / 1.175 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.294e-05/0.8347, allocations: 87.44 kB / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8347, allocations: 3.938 kB / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000334/0.8351, allocations: 55.8 kB / 1.175 GB, free: 10.3 MB / 0.9044 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.0007105/0.8358, allocations: 387.1 kB / 1.176 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001102/0.8359, allocations: 15.94 kB / 1.176 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.8359, allocations: 0 / 1.176 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.844e-06/0.8359, allocations: 0 / 1.176 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.8363, allocations: 460.3 kB / 1.176 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002459/0.8365, allocations: 170.4 kB / 1.176 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.8368, allocations: 0.6768 MB / 1.177 GB, free: 8.617 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 9.406e-05/0.8369, allocations: 4 kB / 1.177 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.8369, allocations: 15.42 kB / 1.177 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.8369, allocations: 0 / 1.177 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of Templates: time 0.004011/0.8409, allocations: 1.513 MB / 1.179 GB, free: 7.094 MB / 0.9044 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