Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001484/0.001484, allocations: 113.4 kB / 16.42 MB, free: 6.504 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.001582/0.001583, allocations: 190.7 kB / 17.35 MB, free: 5.727 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.511/1.511, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.724/2.724, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 63.84 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106/1.108, allocations: 151.6 MB / 1.167 GB, free: 4.059 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001843/1.11, allocations: 0.5322 MB / 1.168 GB, free: 3.531 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001805/1.112, allocations: 1.139 MB / 1.169 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.009e-05/1.112, allocations: 0 / 1.169 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000143/1.112, allocations: 7.984 kB / 1.169 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.352e-05/1.112, allocations: 0 / 1.169 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005755/1.113, allocations: 175.4 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.799e-05/1.113, allocations: 11.98 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.86e-05/1.113, allocations: 0 / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.955e-05/1.113, allocations: 7.938 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.164e-05/1.113, allocations: 23.84 kB / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/1.113, allocations: 8 kB / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/1.113, allocations: 187.7 kB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.092e-05/1.113, allocations: 11.97 kB / 1.169 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/1.113, allocations: 8 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000324/1.114, allocations: 187.7 kB / 1.17 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.114, allocations: 0 / 1.17 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.675e-06/1.114, allocations: 4 kB / 1.17 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.202e-06/1.114, allocations: 0 / 1.17 GB, free: 1.766 MB / 0.8887 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.0005281/1.114, allocations: 363.5 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/1.114, allocations: 12.62 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.137e-05/1.114, allocations: 76.22 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/1.115, allocations: 249.5 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.329e-05/1.115, allocations: 150.9 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.014e-05/1.115, allocations: 154.9 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.418e-05/1.115, allocations: 109.1 kB / 1.171 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.819e-05/1.115, allocations: 79.28 kB / 1.171 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.877e-05/1.115, allocations: 150.6 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.314e-05/1.115, allocations: 154.6 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.37e-05/1.115, allocations: 150.6 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/1.115, allocations: 453.8 kB / 1.172 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.068e-05/1.116, allocations: 173.1 kB / 1.172 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.851e-05/1.116, allocations: 80.14 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/1.116, allocations: 75.28 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.359e-05/1.116, allocations: 117.7 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/1.116, allocations: 0 / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 9.282e-05/1.116, allocations: 37.67 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/1.116, allocations: 55.41 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/1.116, allocations: 101.9 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/1.116, allocations: 29.69 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/1.116, allocations: 80.14 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/1.116, allocations: 0 / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/1.116, allocations: 25.7 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.116, allocations: 310.8 kB / 1.173 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.841e-05/1.116, allocations: 11.98 kB / 1.173 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.887e-05/1.116, allocations: 12 kB / 1.173 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.196e-05/1.116, allocations: 20.84 kB / 1.173 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/1.116, allocations: 0 / 1.173 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001485/1.117, allocations: 53.62 kB / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/1.117, allocations: 11.94 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/1.117, allocations: 0 / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/1.117, allocations: 0 / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/1.117, allocations: 3.938 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/1.117, allocations: 4.125 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.608e-05/1.117, allocations: 7.984 kB / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/1.117, allocations: 0 / 1.173 GB, free: 14.29 MB / 0.9044 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.0001221/1.117, allocations: 185.1 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-05/1.117, allocations: 104.9 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.403e-05/1.117, allocations: 112 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.106e-05/1.117, allocations: 188.2 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-05/1.117, allocations: 101 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8e-05/1.117, allocations: 185.9 kB / 1.174 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.389e-05/1.117, allocations: 184.4 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.799e-05/1.117, allocations: 108.9 kB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.319e-05/1.117, allocations: 180.2 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.814e-05/1.118, allocations: 259.5 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001608/1.118, allocations: 379 kB / 1.175 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.576e-05/1.118, allocations: 112.9 kB / 1.175 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.018e-05/1.118, allocations: 83.47 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of Backend: time 1.713e-06/1.118, allocations: 0 / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009622/1.119, allocations: 299.7 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005845/1.119, allocations: 0.8529 MB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of Templates: time 0.004165/1.124, allocations: 1.523 MB / 1.177 GB, free: 9.371 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches