Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001256/0.001256, allocations: 112.7 kB / 16.37 MB, free: 6 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.001256/0.001256, allocations: 196 kB / 17.31 MB, free: 5.613 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.305/2.305, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.44 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2661, allocations: 140.4 MB / 0.9511 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002084/0.2682, allocations: 0.5336 MB / 0.9517 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.2697, allocations: 1.126 MB / 0.9528 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.2697, allocations: 0 / 0.9528 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.2699, allocations: 11.94 kB / 0.9528 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.92e-05/0.2699, allocations: 4 kB / 0.9528 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005232/0.2705, allocations: 171.4 kB / 0.9529 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.029e-05/0.2706, allocations: 15.98 kB / 0.9529 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.891e-05/0.2706, allocations: 4 kB / 0.953 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.865e-05/0.2706, allocations: 4 kB / 0.953 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.042e-05/0.2707, allocations: 15.86 kB / 0.953 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.2707, allocations: 0 / 0.953 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003784/0.2711, allocations: 199.6 kB / 0.9532 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.335e-05/0.2712, allocations: 12 kB / 0.9532 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.08e-05/0.2712, allocations: 3.984 kB / 0.9532 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.2715, allocations: 195.6 kB / 0.9534 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.2715, allocations: 0 / 0.9534 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2715, allocations: 3.938 kB / 0.9534 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.2716, allocations: 0 / 0.9534 GB, free: 5.809 MB / 0.7325 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.000455/0.272, allocations: 367.5 kB / 0.9537 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.2721, allocations: 12.03 kB / 0.9537 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.099e-05/0.2721, allocations: 76.22 kB / 0.9538 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.2723, allocations: 247.6 kB / 0.954 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.109e-05/0.2724, allocations: 158.9 kB / 0.9542 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.186e-05/0.2725, allocations: 150.9 kB / 0.9543 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.832e-05/0.2726, allocations: 105.1 kB / 0.9544 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/0.2726, allocations: 75.28 kB / 0.9545 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-05/0.2727, allocations: 158.5 kB / 0.9547 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-05/0.2727, allocations: 154.6 kB / 0.9548 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.244e-05/0.2728, allocations: 158.5 kB / 0.955 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002932/0.2731, allocations: 445.9 kB / 0.9554 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.742e-05/0.2732, allocations: 173.1 kB / 0.9555 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/0.2732, allocations: 84.08 kB / 0.9556 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.2733, allocations: 79.28 kB / 0.9557 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/0.2733, allocations: 109.8 kB / 0.9558 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.2733, allocations: 0 / 0.9558 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.712e-05/0.2734, allocations: 29.7 kB / 0.9558 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/0.2735, allocations: 130.7 kB / 0.956 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.2736, allocations: 101.8 kB / 0.9561 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.2736, allocations: 29.7 kB / 0.9561 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.2737, allocations: 80.14 kB / 0.9562 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.2737, allocations: 0 / 0.9562 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.2737, allocations: 21.69 kB / 0.9562 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2738, allocations: 318.8 kB / 0.9565 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.577e-05/0.2739, allocations: 7.938 kB / 0.9565 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.923e-05/0.2739, allocations: 15.98 kB / 0.9565 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.166e-05/0.2739, allocations: 24.84 kB / 0.9565 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.274, allocations: 0 / 0.9565 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001392/0.2741, allocations: 53.53 kB / 0.9566 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2741, allocations: 4 kB / 0.9566 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.2741, allocations: 4 kB / 0.9566 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.2741, allocations: 0 / 0.9566 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.2742, allocations: 3.938 kB / 0.9566 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.2742, allocations: 0 / 0.9566 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.891e-05/0.2742, allocations: 4.125 kB / 0.9566 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.2743, allocations: 4 kB / 0.9566 GB, free: 2.258 MB / 0.7325 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 0.0001111/0.2744, allocations: 197 kB / 0.9568 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/0.2745, allocations: 104.9 kB / 0.9569 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.762e-05/0.2745, allocations: 104.1 kB / 0.957 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.617e-05/0.2746, allocations: 180.2 kB / 0.9572 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.135e-05/0.2747, allocations: 196.3 kB / 0.9573 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-05/0.2747, allocations: 180.2 kB / 0.9575 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.2749, allocations: 401.2 kB / 0.9579 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.017e-05/0.275, allocations: 105 kB / 0.958 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/0.275, allocations: 108.9 kB / 0.9581 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.174e-05/0.2751, allocations: 184.2 kB / 0.9583 GB, free: 420 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.987e-05/0.2751, allocations: 192.2 kB / 0.9585 GB, free: 220 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.496e-05/0.2752, allocations: 176.3 kB / 0.9586 GB, free: 36 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.766e-05/0.2753, allocations: 176.3 kB / 0.9588 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.2754, allocations: 307.8 kB / 0.9591 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.598e-05/0.2755, allocations: 190 kB / 0.9593 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.699e-05/0.2755, allocations: 184.2 kB / 0.9595 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.2756, allocations: 101 kB / 0.9595 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.2757, allocations: 180.2 kB / 0.9597 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.2757, allocations: 101 kB / 0.9598 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.175e-05/0.2758, allocations: 83.28 kB / 0.9599 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2758, allocations: 4 kB / 0.9599 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003109/0.2761, allocations: 59.97 kB / 0.96 GB, free: 14.59 MB / 0.7481 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.0006135/0.2767, allocations: 390.1 kB / 0.9603 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 9.022e-05/0.2768, allocations: 15.92 kB / 0.9603 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2768, allocations: 0 / 0.9603 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.2768, allocations: 0 / 0.9603 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.2772, allocations: 457.8 kB / 0.9608 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002443/0.2774, allocations: 172.2 kB / 0.9609 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.2777, allocations: 0.6727 MB / 0.9616 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.616e-05/0.2777, allocations: 11.98 kB / 0.9616 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.2778, allocations: 15.42 kB / 0.9616 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of SimCode: time 4.71e-07/0.2778, allocations: 0 / 0.9616 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of Templates: time 0.00392/0.2817, allocations: 1.518 MB / 0.9631 GB, free: 11.38 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches