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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.174/2.174, allocations: 390.3 MB / 402.8 MB, free: 6.656 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 188.1 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 221.3 MB / 0.7915 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008938/0.0008937, allocations: 99.95 kB / 0.9317 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.998e-05/4.047e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3613, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.139/1.501, allocations: 151.5 MB / 1.367 GB, free: 2.484 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/1.501, allocations: 89.41 kB / 1.367 GB, free: 2.434 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01255/1.513, allocations: 4.445 MB / 1.371 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.045e-06/1.513, allocations: 0 / 1.371 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.109e-05/1.514, allocations: 0 / 1.371 GB, free: 14.9 MB / 0.8386 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.0005125/1.514, allocations: 374.4 kB / 1.372 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/1.514, allocations: 8.031 kB / 1.372 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/1.514, allocations: 83.23 kB / 1.372 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/1.514, allocations: 238.3 kB / 1.372 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.577e-05/1.515, allocations: 150.6 kB / 1.372 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.126e-05/1.515, allocations: 158 kB / 1.372 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.741e-05/1.515, allocations: 101 kB / 1.372 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/1.515, allocations: 83.22 kB / 1.372 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-05/1.515, allocations: 150.6 kB / 1.372 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.931e-05/1.515, allocations: 150.6 kB / 1.373 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.09e-05/1.515, allocations: 162.5 kB / 1.373 GB, free: 13.19 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/1.515, allocations: 453.2 kB / 1.373 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.903e-05/1.516, allocations: 173.1 kB / 1.373 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.046e-05/1.516, allocations: 84.12 kB / 1.373 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/1.516, allocations: 75.28 kB / 1.373 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.051e-05/1.516, allocations: 105.8 kB / 1.374 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 2.816e-06/1.516, allocations: 7.938 kB / 1.374 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.739e-05/1.516, allocations: 34.27 kB / 1.374 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/1.516, allocations: 126.7 kB / 1.374 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/1.516, allocations: 96.73 kB / 1.374 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/1.516, allocations: 25.7 kB / 1.374 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/1.516, allocations: 88.12 kB / 1.374 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/1.516, allocations: 0 / 1.374 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-06/1.516, allocations: 0 / 1.374 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.516, allocations: 321.6 kB / 1.374 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.729e-05/1.516, allocations: 4 kB / 1.374 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.029e-05/1.516, allocations: 11.98 kB / 1.374 GB, free: 11.51 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.314e-05/1.516, allocations: 11.94 kB / 1.374 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.516, allocations: 0 / 1.374 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001464/1.517, allocations: 49.62 kB / 1.374 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/1.517, allocations: 4 kB / 1.374 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/1.517, allocations: 4 kB / 1.374 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/1.517, allocations: 4.031 kB / 1.374 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/1.517, allocations: 4.125 kB / 1.374 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.517, allocations: 3.984 kB / 1.374 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.882e-05/1.517, allocations: 4 kB / 1.374 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/1.517, allocations: 0 / 1.374 GB, free: 11.43 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001081/1.517, allocations: 188.1 kB / 1.375 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.9e-05/1.517, allocations: 101 kB / 1.375 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.064e-05/1.517, allocations: 112 kB / 1.375 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.887e-05/1.517, allocations: 184.2 kB / 1.375 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.708e-05/1.517, allocations: 180.2 kB / 1.375 GB, free: 10.65 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.375e-05/1.517, allocations: 176.3 kB / 1.375 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/1.518, allocations: 407.8 kB / 1.376 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.295e-05/1.518, allocations: 107.8 kB / 1.376 GB, free: 9.906 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.845e-05/1.518, allocations: 101 kB / 1.376 GB, free: 9.801 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-05/1.518, allocations: 188.2 kB / 1.376 GB, free: 9.609 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.833e-05/1.518, allocations: 176.3 kB / 1.376 GB, free: 9.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.234e-05/1.518, allocations: 180.2 kB / 1.376 GB, free: 9.246 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-05/1.518, allocations: 195.8 kB / 1.377 GB, free: 9.051 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/1.518, allocations: 307.7 kB / 1.377 GB, free: 8.727 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/1.518, allocations: 193.7 kB / 1.377 GB, free: 8.516 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.87e-05/1.518, allocations: 180.2 kB / 1.377 GB, free: 8.332 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.465e-05/1.519, allocations: 105.9 kB / 1.377 GB, free: 8.223 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/1.519, allocations: 180.3 kB / 1.377 GB, free: 8.039 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.382e-05/1.519, allocations: 108.9 kB / 1.378 GB, free: 7.926 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.806e-05/1.519, allocations: 86.89 kB / 1.378 GB, free: 7.844 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.31e-07/1.519, allocations: 0 / 1.378 GB, free: 7.844 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004877/1.519, allocations: 67.22 kB / 1.378 GB, free: 7.781 MB / 0.8386 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 () * 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.0008692/1.52, allocations: 396.7 kB / 1.378 GB, free: 7.445 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001295/1.52, allocations: 66.22 kB / 1.378 GB, free: 7.371 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.52, allocations: 0 / 1.378 GB, free: 7.371 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.971e-06/1.52, allocations: 3.938 kB / 1.378 GB, free: 7.367 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/1.521, allocations: 0.524 MB / 1.379 GB, free: 6.84 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002309/1.521, allocations: 135.1 kB / 1.379 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/1.521, allocations: 0.677 MB / 1.379 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.517e-05/1.521, allocations: 11.92 kB / 1.379 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.227e-05/1.521, allocations: 7.438 kB / 1.379 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of SimCode: time 7.61e-07/1.521, allocations: 0 / 1.379 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of Templates: time 0.004398/1.526, allocations: 1.524 MB / 1.381 GB, free: 4.48 MB / 0.8386 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