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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001231/0.001231, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 192 kB / 16.53 MB, free: 6.391 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.432/1.432, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.749/2.749, allocations: 472.6 MB / 0.7451 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 67.92 kB / 0.9121 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2887, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.00196/0.2907, allocations: 0.5302 MB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.2923, allocations: 1.13 MB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.332e-05/0.2923, allocations: 0 / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.2924, allocations: 11.98 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.226e-05/0.2925, allocations: 3.938 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.293, allocations: 167.5 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.29e-05/0.293, allocations: 15.94 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.905e-05/0.2931, allocations: 0 / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.534e-05/0.2931, allocations: 19.91 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.652e-05/0.2932, allocations: 4 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.2932, allocations: 4 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003297/0.2935, allocations: 175.7 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.678e-05/0.2936, allocations: 7.984 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.2936, allocations: 3.938 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.2939, allocations: 195.6 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.2939, allocations: 0 / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2939, allocations: 4 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2939, allocations: 0 / 1.07 GB, free: 8.109 MB / 0.8262 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.0004144/0.2943, allocations: 359.6 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2944, allocations: 12.03 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.396e-05/0.2944, allocations: 80.22 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.2946, allocations: 239.9 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.72e-05/0.2947, allocations: 158.9 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.384e-05/0.2947, allocations: 154.9 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.845e-05/0.2948, allocations: 113 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.2948, allocations: 75.28 kB / 1.072 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.472e-05/0.2949, allocations: 150.6 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.958e-05/0.2949, allocations: 154.5 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.396e-05/0.295, allocations: 162.6 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002689/0.2953, allocations: 441.9 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.291e-05/0.2953, allocations: 181.1 kB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.826e-05/0.2954, allocations: 80.14 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.2954, allocations: 75.28 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.2955, allocations: 113.8 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.2955, allocations: 0 / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.35e-05/0.2955, allocations: 33.64 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.2956, allocations: 126.7 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.2957, allocations: 101.8 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.2957, allocations: 25.7 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.2958, allocations: 88.12 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-06/0.2958, allocations: 4 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.2958, allocations: 17.72 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2959, allocations: 318.8 kB / 1.074 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.411e-05/0.296, allocations: 7.938 kB / 1.074 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.741e-05/0.296, allocations: 11.98 kB / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.885e-05/0.2961, allocations: 20.86 kB / 1.074 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2961, allocations: 0 / 1.074 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001322/0.2962, allocations: 65.64 kB / 1.074 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.2962, allocations: 4 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2962, allocations: 0 / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.2963, allocations: 4 kB / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-07/0.2963, allocations: 0 / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.2963, allocations: 0 / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.392e-05/0.2964, allocations: 0 / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.2964, allocations: 8 kB / 1.074 GB, free: 4.559 MB / 0.8262 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.0001064/0.2965, allocations: 185.2 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/0.2966, allocations: 112.9 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.797e-05/0.2966, allocations: 111.8 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.416e-05/0.2967, allocations: 176.5 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.795e-05/0.2967, allocations: 192.3 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.248e-05/0.2968, allocations: 184.2 kB / 1.075 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.297, allocations: 405.2 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-05/0.2971, allocations: 104.9 kB / 1.075 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.357e-05/0.2971, allocations: 108.9 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-05/0.2972, allocations: 184.2 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.455e-05/0.2972, allocations: 184.3 kB / 1.076 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.292e-05/0.2973, allocations: 176.3 kB / 1.076 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.302e-05/0.2974, allocations: 184.2 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.2975, allocations: 311.7 kB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.594e-05/0.2976, allocations: 182 kB / 1.076 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.354e-05/0.2976, allocations: 180.3 kB / 1.077 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.2977, allocations: 108.9 kB / 1.077 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.2978, allocations: 184.2 kB / 1.077 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.2978, allocations: 104.9 kB / 1.077 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.766e-05/0.2979, allocations: 79.28 kB / 1.077 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2979, allocations: 0 / 1.077 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003118/0.2982, allocations: 55.98 kB / 1.077 GB, free: 0.8945 MB / 0.8262 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.0006181/0.2988, allocations: 379.9 kB / 1.077 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.373e-05/0.2989, allocations: 15.98 kB / 1.077 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2989, allocations: 0 / 1.077 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.2989, allocations: 8.062 kB / 1.077 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.2993, allocations: 456.7 kB / 1.078 GB, free: 104 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002322/0.2995, allocations: 168.2 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.2997, allocations: 0.6729 MB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.077e-05/0.2998, allocations: 15.98 kB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/0.2999, allocations: 15.38 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of SimCode: time 2.8e-07/0.2999, allocations: 0 / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of Templates: time 0.003711/0.3036, allocations: 1.521 MB / 1.08 GB, free: 13.7 MB / 0.8419 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