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.001148/0.001148, allocations: 114.4 kB / 16.42 MB, free: 6.5 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.001297/0.001297, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.685/2.685, allocations: 461.9 MB / 0.7355 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 63.91 kB / 1.055 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9746/0.9762, allocations: 157.4 MB / 1.208 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001945/0.9782, allocations: 0.5339 MB / 1.209 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00193/0.9801, allocations: 1.128 MB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.295e-05/0.9802, allocations: 0 / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.9803, allocations: 11.97 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.222e-05/0.9804, allocations: 11.88 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007258/0.9811, allocations: 167.5 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.525e-05/0.9812, allocations: 11.94 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/0.9813, allocations: 7.984 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.427e-05/0.9813, allocations: 4 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.099e-05/0.9814, allocations: 11.98 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.9814, allocations: 0 / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000451/0.9819, allocations: 195.7 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.46e-05/0.9819, allocations: 11.92 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.982, allocations: 4 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.9823, allocations: 195.6 kB / 1.211 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.9823, allocations: 0 / 1.211 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9824, allocations: 4 kB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.9824, allocations: 0 / 1.211 GB, free: 11.5 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.0004285/0.9828, allocations: 363.5 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.9829, allocations: 12.03 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.856e-05/0.9829, allocations: 76.22 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.9831, allocations: 241.5 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.315e-05/0.9832, allocations: 154.9 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.43e-05/0.9832, allocations: 158.9 kB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.302e-05/0.9833, allocations: 109.1 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.163e-05/0.9834, allocations: 75.28 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.355e-05/0.9834, allocations: 154.6 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.265e-05/0.9835, allocations: 150.6 kB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.749e-05/0.9835, allocations: 154.6 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.9839, allocations: 457.8 kB / 1.213 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.678e-05/0.984, allocations: 169.1 kB / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.331e-05/0.984, allocations: 80.14 kB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.984, allocations: 75.28 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.9841, allocations: 113.8 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.9841, allocations: 0 / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.206e-05/0.9842, allocations: 41.62 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.9842, allocations: 51.41 kB / 1.213 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.9843, allocations: 101.8 kB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.9844, allocations: 29.69 kB / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.9844, allocations: 88.14 kB / 1.213 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-06/0.9844, allocations: 4 kB / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.9845, allocations: 21.64 kB / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.9846, allocations: 310.8 kB / 1.214 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.493e-05/0.9846, allocations: 8 kB / 1.214 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.391e-05/0.9847, allocations: 15.98 kB / 1.214 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.903e-05/0.9847, allocations: 16.86 kB / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.9847, allocations: 0 / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001356/0.9849, allocations: 61.7 kB / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.9849, allocations: 7.938 kB / 1.214 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.9849, allocations: 0 / 1.214 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.9849, allocations: 0 / 1.214 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.9849, allocations: 4 kB / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.9849, allocations: 0 / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.985, allocations: 0 / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.985, allocations: 4 kB / 1.214 GB, free: 8.031 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 0.0001034/0.9851, allocations: 185.1 kB / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/0.9852, allocations: 113 kB / 1.214 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/0.9853, allocations: 108 kB / 1.214 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-05/0.9853, allocations: 180.3 kB / 1.214 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-05/0.9854, allocations: 108.9 kB / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.4e-05/0.9854, allocations: 186 kB / 1.215 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.661e-05/0.9855, allocations: 180.4 kB / 1.215 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.878e-05/0.9856, allocations: 112.9 kB / 1.215 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.383e-05/0.9857, allocations: 180.3 kB / 1.215 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001054/0.9858, allocations: 259.5 kB / 1.215 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001946/0.986, allocations: 379 kB / 1.216 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.479e-05/0.9861, allocations: 108.9 kB / 1.216 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.893e-05/0.9862, allocations: 87.45 kB / 1.216 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of Backend: time 5.91e-07/0.9862, allocations: 0 / 1.216 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.9872, allocations: 302.2 kB / 1.216 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005633/0.9878, allocations: 0.835 MB / 1.217 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of Templates: time 0.003942/0.9917, allocations: 1.537 MB / 1.218 GB, free: 3.145 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/jenkins1/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