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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001046/0.001046, allocations: 108 kB / 15.61 MB, free: 152 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.001097/0.001097, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.213/1.213, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.075/2.075, allocations: 390.2 MB / 0.6646 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 55.91 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6073/0.6086, allocations: 140.4 MB / 0.9496 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001618/0.6102, allocations: 0.5255 MB / 0.9501 GB, free: 8.84 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.6114, allocations: 1.123 MB / 0.9512 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.134e-05/0.6115, allocations: 0 / 0.9512 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.08e-05/0.6115, allocations: 5.531 kB / 0.9512 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.885e-05/0.6116, allocations: 7.938 kB / 0.9512 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.612, allocations: 170 kB / 0.9514 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.35e-05/0.6121, allocations: 16.58 kB / 0.9514 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.6122, allocations: 1.469 kB / 0.9514 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.577e-05/0.6122, allocations: 12.05 kB / 0.9514 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.622e-05/0.6122, allocations: 9.266 kB / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.6123, allocations: 0 / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003115/0.6126, allocations: 177.8 kB / 0.9516 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.702e-05/0.6126, allocations: 14.88 kB / 0.9516 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.6126, allocations: 10.72 kB / 0.9516 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.6129, allocations: 180.8 kB / 0.9518 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6129, allocations: 1.344 kB / 0.9518 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6129, allocations: 0 / 0.9518 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.6129, allocations: 0 / 0.9518 GB, free: 7.621 MB / 0.7169 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.0002719/0.6132, allocations: 372.5 kB / 0.9521 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.6132, allocations: 9.781 kB / 0.9521 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.6133, allocations: 85.62 kB / 0.9522 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.576e-05/0.6134, allocations: 249.6 kB / 0.9525 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.6134, allocations: 152.1 kB / 0.9526 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.6134, allocations: 153.4 kB / 0.9528 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.738e-05/0.6135, allocations: 106.6 kB / 0.9529 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.6135, allocations: 76.72 kB / 0.9529 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.6135, allocations: 150.6 kB / 0.9531 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.6136, allocations: 154.6 kB / 0.9532 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.154e-05/0.6136, allocations: 160.1 kB / 0.9534 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.6137, allocations: 448.6 kB / 0.9538 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.159e-05/0.6138, allocations: 170.6 kB / 0.954 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.536e-05/0.6138, allocations: 84.14 kB / 0.954 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.6138, allocations: 75.28 kB / 0.9541 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.6139, allocations: 111.2 kB / 0.9542 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.6139, allocations: 0 / 0.9542 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.201e-05/0.6139, allocations: 36.78 kB / 0.9543 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.614, allocations: 126.7 kB / 0.9544 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.077e-05/0.6141, allocations: 103.7 kB / 0.9545 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.6141, allocations: 25.7 kB / 0.9545 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.276e-05/0.6141, allocations: 85.47 kB / 0.9546 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.6141, allocations: 0 / 0.9546 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.6141, allocations: 19.94 kB / 0.9546 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.684e-05/0.6142, allocations: 315.9 kB / 0.9549 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.386e-05/0.6142, allocations: 9.172 kB / 0.9549 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.624e-05/0.6142, allocations: 7.594 kB / 0.9549 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.6e-05/0.6143, allocations: 32.97 kB / 0.955 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.6143, allocations: 3.938 kB / 0.955 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001156/0.6144, allocations: 50.22 kB / 0.955 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.6144, allocations: 6.781 kB / 0.955 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.6144, allocations: 0 / 0.955 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.6145, allocations: 1.406 kB / 0.955 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.6145, allocations: 0 / 0.955 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.6145, allocations: 4 kB / 0.955 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.08e-05/0.6145, allocations: 10.77 kB / 0.955 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.6146, allocations: 9.406 kB / 0.955 GB, free: 4.164 MB / 0.7169 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 5.363e-05/0.6146, allocations: 187.8 kB / 0.9552 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.6147, allocations: 115.3 kB / 0.9553 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.106e-05/0.6147, allocations: 111.9 kB / 0.9554 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.6147, allocations: 177.3 kB / 0.9556 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.135e-05/0.6147, allocations: 189.2 kB / 0.9558 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/0.6148, allocations: 177.7 kB / 0.9559 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.6149, allocations: 403.6 kB / 0.9563 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.6149, allocations: 102.5 kB / 0.9564 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.32e-05/0.6149, allocations: 108.9 kB / 0.9565 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.925e-05/0.6149, allocations: 181.4 kB / 0.9567 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.615, allocations: 185.8 kB / 0.9569 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.468e-05/0.615, allocations: 185.7 kB / 0.9571 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.027e-05/0.615, allocations: 176.3 kB / 0.9572 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.715e-05/0.6151, allocations: 303.5 kB / 0.9575 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.828e-05/0.6151, allocations: 191.5 kB / 0.9577 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.6151, allocations: 181.7 kB / 0.9579 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.713e-05/0.6152, allocations: 106.3 kB / 0.958 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.6152, allocations: 181.8 kB / 0.9582 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.6153, allocations: 105 kB / 0.9583 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.574e-05/0.6153, allocations: 87.66 kB / 0.9583 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6153, allocations: 0 / 0.9583 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002775/0.6156, allocations: 63.58 kB / 0.9584 GB, free: 0.5586 MB / 0.7169 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.0005329/0.6161, allocations: 377.9 kB / 0.9588 GB, free: 332 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.419e-05/0.6162, allocations: 11.22 kB / 0.9588 GB, free: 328 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6162, allocations: 4 kB / 0.9588 GB, free: 324 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.514e-06/0.6162, allocations: 5.344 kB / 0.9588 GB, free: 320 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.6165, allocations: 457.1 kB / 0.9592 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002376/0.6167, allocations: 178.4 kB / 0.9594 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.617, allocations: 0.6791 MB / 0.96 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.821e-05/0.6171, allocations: 6.344 kB / 0.9601 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/0.6172, allocations: 15.2 kB / 0.9601 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.6172, allocations: 0.8438 kB / 0.9601 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of Templates: time 0.00354/0.6207, allocations: 1.518 MB / 0.9615 GB, free: 14.16 MB / 0.7325 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 -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/jenkins/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