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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008385/0.00839, allocations: 104.8 kB / 15.74 MB, free: 5.984 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.001705/0.001705, allocations: 199.1 kB / 16.68 MB, free: 5.91 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.524/2.524, allocations: 461.9 MB / 0.7347 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 63.91 kB / 1.054 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9002/0.9016, allocations: 157.4 MB / 1.208 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001913/0.9036, allocations: 0.5373 MB / 1.208 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001675/0.9053, allocations: 1.124 MB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.58e-05/0.9053, allocations: 3.938 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.9054, allocations: 11.92 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.123e-05/0.9055, allocations: 0 / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006569/0.9062, allocations: 167.5 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.192e-05/0.9063, allocations: 19.92 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.9063, allocations: 0 / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.346e-05/0.9064, allocations: 19.92 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.377e-05/0.9064, allocations: 7.984 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.9065, allocations: 0 / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004053/0.9069, allocations: 207.6 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.749e-05/0.9069, allocations: 3.984 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.9069, allocations: 4 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.9073, allocations: 187.7 kB / 1.21 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.9073, allocations: 0 / 1.21 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.302e-06/0.9073, allocations: 0 / 1.21 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.9073, allocations: 0 / 1.21 GB, free: 11.47 MB / 0.9356 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.0003817/0.9077, allocations: 371.5 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.9077, allocations: 11.97 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.237e-05/0.9078, allocations: 80.22 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.9079, allocations: 241.5 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.172e-05/0.908, allocations: 150.9 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/0.9081, allocations: 158.9 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.913e-05/0.9081, allocations: 109.1 kB / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.9082, allocations: 75.28 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.721e-05/0.9082, allocations: 150.6 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-05/0.9083, allocations: 150.6 kB / 1.211 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.825e-05/0.9083, allocations: 154.5 kB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002618/0.9086, allocations: 457.8 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.465e-05/0.9087, allocations: 173.1 kB / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.857e-05/0.9087, allocations: 80.14 kB / 1.212 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.9087, allocations: 79.27 kB / 1.212 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.9088, allocations: 109.8 kB / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 3.256e-06/0.9088, allocations: 7.984 kB / 1.212 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.116e-05/0.9089, allocations: 37.69 kB / 1.212 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.9089, allocations: 126.7 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.909, allocations: 101.8 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.9091, allocations: 29.69 kB / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.9091, allocations: 88.08 kB / 1.213 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.9091, allocations: 0 / 1.213 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.9092, allocations: 17.72 kB / 1.213 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.13e-05/0.9093, allocations: 314.8 kB / 1.213 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.93e-05/0.9093, allocations: 11.98 kB / 1.213 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.728e-05/0.9093, allocations: 8 kB / 1.213 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.164e-05/0.9094, allocations: 28.78 kB / 1.213 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.9094, allocations: 0 / 1.213 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001316/0.9095, allocations: 49.62 kB / 1.213 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.9096, allocations: 4 kB / 1.213 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.9096, allocations: 4.109 kB / 1.213 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.9096, allocations: 7.938 kB / 1.213 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.505e-06/0.9096, allocations: 4 kB / 1.213 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.9096, allocations: 0 / 1.213 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.797e-05/0.9097, allocations: 0 / 1.213 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.9097, allocations: 8 kB / 1.213 GB, free: 7.906 MB / 0.9356 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 8.788e-05/0.9098, allocations: 181.1 kB / 1.213 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.9e-05/0.9099, allocations: 112.9 kB / 1.213 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.402e-05/0.9099, allocations: 112.1 kB / 1.214 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.724e-05/0.91, allocations: 176.3 kB / 1.214 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-05/0.91, allocations: 184.2 kB / 1.214 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.639e-05/0.9101, allocations: 180.3 kB / 1.214 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.9103, allocations: 401.3 kB / 1.214 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.205e-05/0.9103, allocations: 109 kB / 1.215 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.9104, allocations: 108.9 kB / 1.215 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.932e-05/0.9104, allocations: 188.2 kB / 1.215 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.863e-05/0.9105, allocations: 176.3 kB / 1.215 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.264e-05/0.9106, allocations: 184.2 kB / 1.215 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-05/0.9106, allocations: 176.3 kB / 1.215 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.9107, allocations: 315.7 kB / 1.216 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/0.9108, allocations: 186 kB / 1.216 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.322e-05/0.9109, allocations: 184.2 kB / 1.216 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.911, allocations: 105 kB / 1.216 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/0.911, allocations: 184.2 kB / 1.216 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/0.9111, allocations: 109 kB / 1.216 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.127e-05/0.9111, allocations: 79.28 kB / 1.216 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9111, allocations: 3.938 kB / 1.216 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003143/0.9114, allocations: 59.98 kB / 1.217 GB, free: 4.242 MB / 0.9356 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.0007525/0.9122, allocations: 385.4 kB / 1.217 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.836e-05/0.9123, allocations: 8 kB / 1.217 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.9123, allocations: 0 / 1.217 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.995e-06/0.9123, allocations: 11.92 kB / 1.217 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.9126, allocations: 463.7 kB / 1.217 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002581/0.9129, allocations: 164.2 kB / 1.218 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.9132, allocations: 0.6729 MB / 1.218 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001161/0.9133, allocations: 11.98 kB / 1.218 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.9133, allocations: 11.44 kB / 1.218 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.9133, allocations: 0 / 1.218 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of Templates: time 0.004135/0.9175, allocations: 1.523 MB / 1.22 GB, free: 1.047 MB / 0.9356 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