Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007891/0.007891, allocations: 103.2 kB / 15.73 MB, free: 6.051 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.001847/0.001847, allocations: 193.5 kB / 16.67 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.705/2.705, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 59.91 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3307, allocations: 157.4 MB / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002003/0.3328, allocations: 0.526 MB / 1.208 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.3346, allocations: 1.144 MB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.737e-05/0.3347, allocations: 0 / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.3348, allocations: 3.984 kB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.692e-05/0.3349, allocations: 4 kB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006789/0.3356, allocations: 167.4 kB / 1.21 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.175e-05/0.3357, allocations: 11.98 kB / 1.21 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.3357, allocations: 8 kB / 1.21 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.043e-05/0.3358, allocations: 4 kB / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.331e-05/0.3358, allocations: 19.91 kB / 1.21 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.3358, allocations: 0 / 1.21 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004214/0.3363, allocations: 199.6 kB / 1.21 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.143e-05/0.3363, allocations: 11.98 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.839e-05/0.3364, allocations: 3.984 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.3367, allocations: 191.7 kB / 1.21 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3367, allocations: 0 / 1.21 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3367, allocations: 0 / 1.21 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.3367, allocations: 0 / 1.21 GB, free: 7.359 MB / 0.9669 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.0003683/0.3371, allocations: 364.5 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3372, allocations: 16.62 kB / 1.21 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.761e-05/0.3372, allocations: 76.22 kB / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.3374, allocations: 247.5 kB / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.056e-05/0.3374, allocations: 158.9 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.802e-05/0.3375, allocations: 154.9 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.786e-05/0.3376, allocations: 109 kB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.3376, allocations: 79.28 kB / 1.211 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.659e-05/0.3377, allocations: 150.6 kB / 1.211 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.454e-05/0.3377, allocations: 154.6 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.039e-05/0.3378, allocations: 150.6 kB / 1.212 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.3381, allocations: 449.9 kB / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.517e-05/0.3381, allocations: 173.1 kB / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.3382, allocations: 84.14 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.3382, allocations: 79.22 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.3383, allocations: 113.8 kB / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.3383, allocations: 0 / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.93e-05/0.3384, allocations: 33.7 kB / 1.212 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.3384, allocations: 126.7 kB / 1.213 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.3385, allocations: 101.8 kB / 1.213 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.3386, allocations: 33.69 kB / 1.213 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.3386, allocations: 84.08 kB / 1.213 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.3386, allocations: 0 / 1.213 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.3387, allocations: 17.7 kB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3388, allocations: 322.8 kB / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.519e-05/0.3388, allocations: 4 kB / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.867e-05/0.3388, allocations: 11.98 kB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.109e-05/0.3389, allocations: 24.84 kB / 1.213 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3389, allocations: 0 / 1.213 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001317/0.339, allocations: 49.62 kB / 1.213 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.339, allocations: 4 kB / 1.213 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3391, allocations: 4 kB / 1.213 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.3391, allocations: 128 / 1.213 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.934e-06/0.3391, allocations: 4 kB / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.3391, allocations: 3.938 kB / 1.213 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.038e-05/0.3392, allocations: 0 / 1.213 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.3392, allocations: 7.984 kB / 1.213 GB, free: 3.805 MB / 0.9669 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.052e-05/0.3393, allocations: 185.1 kB / 1.213 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.357e-05/0.3394, allocations: 112.8 kB / 1.213 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.3394, allocations: 104.1 kB / 1.214 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.098e-05/0.3395, allocations: 188.2 kB / 1.214 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.731e-05/0.3396, allocations: 180.2 kB / 1.214 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.319e-05/0.3397, allocations: 180.2 kB / 1.214 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.3399, allocations: 409.2 kB / 1.214 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.643e-05/0.3399, allocations: 105.2 kB / 1.215 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.154e-05/0.34, allocations: 112.9 kB / 1.215 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.682e-05/0.34, allocations: 176.3 kB / 1.215 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.518e-05/0.3401, allocations: 192.1 kB / 1.215 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.308e-05/0.3402, allocations: 180.3 kB / 1.215 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.392e-05/0.3402, allocations: 184.2 kB / 1.215 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.3404, allocations: 303.8 kB / 1.216 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.44e-05/0.3405, allocations: 190 kB / 1.216 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.293e-05/0.3405, allocations: 184.2 kB / 1.216 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.887e-05/0.3406, allocations: 104.9 kB / 1.216 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.475e-05/0.3407, allocations: 176.3 kB / 1.216 GB, free: 404 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.3407, allocations: 105 kB / 1.216 GB, free: 292 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.165e-05/0.3408, allocations: 87.27 kB / 1.216 GB, free: 204 kB / 0.9669 GB Notification: Performance of sort global known variables: time 2e-07/0.3408, allocations: 0 / 1.216 GB, free: 204 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003214/0.3411, allocations: 51.98 kB / 1.217 GB, free: 152 kB / 0.9669 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.0007652/0.3419, allocations: 389 kB / 1.217 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.179e-05/0.342, allocations: 8 kB / 1.217 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.342, allocations: 0 / 1.217 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.342, allocations: 0 / 1.217 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.3424, allocations: 459.8 kB / 1.217 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002646/0.3426, allocations: 176.1 kB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.3429, allocations: 0.669 MB / 1.218 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001077/0.343, allocations: 19.91 kB / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.343, allocations: 15.42 kB / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.343, allocations: 0 / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of Templates: time 0.004506/0.3475, allocations: 1.526 MB / 1.22 GB, free: 12.94 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches