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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001062/0.001062, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001305/0.001305, allocations: 177.3 kB / 15.95 MB, free: 216 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.382/1.382, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.712/2.712, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003531, allocations: 8 kB / 0.8708 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8412/0.8416, allocations: 153.6 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.0008108/0.8424, allocations: 255.9 kB / 1.021 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.844, allocations: 1.07 MB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.844, allocations: 0 / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.85e-05/0.8441, allocations: 3.938 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.661e-05/0.8442, allocations: 4 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.8446, allocations: 135.7 kB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.919e-05/0.8446, allocations: 4 kB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.687e-05/0.8447, allocations: 3.984 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.799e-05/0.8447, allocations: 11.98 kB / 1.022 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.678e-05/0.8448, allocations: 15.92 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.8448, allocations: 0 / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003097/0.8451, allocations: 139.8 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.457e-05/0.8452, allocations: 11.97 kB / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.8452, allocations: 25.7 kB / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.8454, allocations: 139.8 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.8455, allocations: 0 / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.943e-06/0.8455, allocations: 0 / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.8455, allocations: 0 / 1.023 GB, free: 15.3 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.0003533/0.8458, allocations: 365 kB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.8459, allocations: 19.98 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.184e-05/0.846, allocations: 75.28 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.8461, allocations: 244.2 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.005e-05/0.8462, allocations: 158.5 kB / 1.023 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.235e-05/0.8463, allocations: 150.6 kB / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.93e-05/0.8464, allocations: 105 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/0.8464, allocations: 79.28 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/0.8465, allocations: 154.6 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.346e-05/0.8466, allocations: 154.6 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.796e-05/0.8466, allocations: 150.6 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.8469, allocations: 449.9 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.365e-05/0.847, allocations: 177.1 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.8471, allocations: 79.23 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.8471, allocations: 105.8 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.8471, allocations: 3.938 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.931e-05/0.8472, allocations: 41.67 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.8473, allocations: 130.7 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.8474, allocations: 97.86 kB / 1.025 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.8474, allocations: 25.7 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.8475, allocations: 88.14 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.8475, allocations: 0 / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.8475, allocations: 0 / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.8476, allocations: 314.8 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.8476, allocations: 4 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.984e-05/0.8477, allocations: 15.98 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.675e-05/0.8477, allocations: 8 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.8477, allocations: 0 / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001506/0.8479, allocations: 57.61 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.8479, allocations: 7.953 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.8479, allocations: 0 / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.8479, allocations: 0 / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.967e-06/0.8479, allocations: 11.98 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.8479, allocations: 0 / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.195e-05/0.848, allocations: 3.906 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.8481, allocations: 8.125 kB / 1.026 GB, free: 11.86 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.000111/0.8482, allocations: 189 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.8482, allocations: 105 kB / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.629e-05/0.8483, allocations: 120 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.606e-05/0.8484, allocations: 176.3 kB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.968e-05/0.8485, allocations: 184.3 kB / 1.026 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.997e-05/0.8485, allocations: 180.2 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.8488, allocations: 401.2 kB / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.308e-05/0.8488, allocations: 108.9 kB / 1.027 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.8488, allocations: 101 kB / 1.027 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.88e-05/0.8489, allocations: 176.3 kB / 1.027 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.641e-05/0.849, allocations: 188.2 kB / 1.028 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.349e-05/0.8491, allocations: 184.2 kB / 1.028 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.302e-05/0.8492, allocations: 188.2 kB / 1.028 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.8493, allocations: 299.8 kB / 1.028 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.773e-05/0.8494, allocations: 190.1 kB / 1.028 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.201e-05/0.8495, allocations: 184.3 kB / 1.029 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.519e-05/0.8496, allocations: 104.9 kB / 1.029 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.974e-05/0.8497, allocations: 180.2 kB / 1.029 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.053e-05/0.8497, allocations: 108.9 kB / 1.029 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.805e-05/0.8498, allocations: 83.28 kB / 1.029 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8498, allocations: 0 / 1.029 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003188/0.8501, allocations: 59.92 kB / 1.029 GB, free: 8.203 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.0007119/0.8508, allocations: 387.9 kB / 1.029 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.793e-05/0.8509, allocations: 12 kB / 1.029 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.8509, allocations: 0 / 1.029 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.8509, allocations: 0 / 1.029 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.8513, allocations: 0.5269 MB / 1.03 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002447/0.8515, allocations: 166 kB / 1.03 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.8518, allocations: 0.677 MB / 1.031 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.786e-05/0.8519, allocations: 7.984 kB / 1.031 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.8519, allocations: 11.44 kB / 1.031 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.8519, allocations: 4 kB / 1.031 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of Templates: time 0.00408/0.856, allocations: 1.478 MB / 1.032 GB, free: 4.973 MB / 0.7794 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","../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