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.001307/0.001307, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001641/0.001641, allocations: 192.1 kB / 16.25 MB, free: 6.621 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.348/1.348, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.385/2.385, allocations: 390.2 MB / 0.6643 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.001449, allocations: 55.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7852/0.7867, allocations: 140.4 MB / 0.9491 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002707/0.7895, allocations: 0.593 MB / 0.9497 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001725/0.7912, allocations: 1.106 MB / 0.9508 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.153e-05/0.7913, allocations: 1.375 kB / 0.9508 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.7914, allocations: 0 / 0.9508 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.645e-05/0.7916, allocations: 5.312 kB / 0.9508 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005916/0.7922, allocations: 161 kB / 0.9509 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.448e-05/0.7922, allocations: 17.17 kB / 0.9509 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.666e-05/0.7923, allocations: 1.25 kB / 0.9509 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.572e-05/0.7924, allocations: 5.312 kB / 0.9509 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.825e-05/0.7924, allocations: 9.766 kB / 0.951 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.7924, allocations: 1.719 kB / 0.951 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003949/0.7928, allocations: 180.7 kB / 0.9511 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.791e-05/0.7929, allocations: 10.48 kB / 0.9511 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.028e-05/0.7929, allocations: 11.88 kB / 0.9511 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.7933, allocations: 185.6 kB / 0.9513 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.7933, allocations: 0 / 0.9513 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7933, allocations: 1.125 kB / 0.9513 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.7933, allocations: 0 / 0.9513 GB, free: 7.5 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.0003729/0.7937, allocations: 368.8 kB / 0.9517 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.7937, allocations: 8.812 kB / 0.9517 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.177e-05/0.7938, allocations: 81.48 kB / 0.9518 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.7939, allocations: 247.2 kB / 0.952 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.698e-05/0.794, allocations: 156.8 kB / 0.9521 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.794, allocations: 152.8 kB / 0.9523 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.312e-05/0.7941, allocations: 105.1 kB / 0.9524 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.7941, allocations: 79.28 kB / 0.9525 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.7941, allocations: 150.6 kB / 0.9526 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.93e-05/0.7942, allocations: 156.1 kB / 0.9528 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.336e-05/0.7942, allocations: 154.5 kB / 0.9529 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/0.7945, allocations: 453.5 kB / 0.9533 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.058e-05/0.7945, allocations: 170.7 kB / 0.9535 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.044e-05/0.7946, allocations: 88.12 kB / 0.9536 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.7946, allocations: 79.22 kB / 0.9537 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.7946, allocations: 115 kB / 0.9538 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.7946, allocations: 0 / 0.9538 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.615e-05/0.7947, allocations: 31.86 kB / 0.9538 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.7948, allocations: 130.7 kB / 0.9539 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.7949, allocations: 100.3 kB / 0.954 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.7949, allocations: 29.7 kB / 0.9541 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.176e-05/0.7949, allocations: 86.23 kB / 0.9541 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-06/0.7949, allocations: 0 / 0.9541 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.795, allocations: 14.94 kB / 0.9541 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.145e-05/0.795, allocations: 316.1 kB / 0.9545 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.865e-05/0.7951, allocations: 9.922 kB / 0.9545 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.766e-05/0.7951, allocations: 10.94 kB / 0.9545 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.449e-05/0.7952, allocations: 25.12 kB / 0.9545 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7952, allocations: 3.938 kB / 0.9545 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001328/0.7953, allocations: 54.97 kB / 0.9546 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.7953, allocations: 5.156 kB / 0.9546 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.7953, allocations: 0 / 0.9546 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.7954, allocations: 5.297 kB / 0.9546 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.031e-06/0.7954, allocations: 0 / 0.9546 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.7954, allocations: 0 / 0.9546 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.952e-05/0.7955, allocations: 10.55 kB / 0.9546 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.7955, allocations: 2.562 kB / 0.9546 GB, free: 4.047 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 7.679e-05/0.7956, allocations: 190.5 kB / 0.9548 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.7956, allocations: 111 kB / 0.9549 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.7957, allocations: 116.9 kB / 0.955 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.1e-05/0.7957, allocations: 177.7 kB / 0.9551 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.279e-05/0.7957, allocations: 180.2 kB / 0.9553 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-05/0.7958, allocations: 181.3 kB / 0.9555 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.7959, allocations: 407.9 kB / 0.9559 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/0.796, allocations: 102 kB / 0.956 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.024e-05/0.796, allocations: 106.2 kB / 0.9561 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.391e-05/0.796, allocations: 182 kB / 0.9562 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-05/0.7961, allocations: 184.2 kB / 0.9564 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.178e-05/0.7961, allocations: 181.8 kB / 0.9566 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.061e-05/0.7961, allocations: 176.3 kB / 0.9568 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.455e-05/0.7962, allocations: 307.6 kB / 0.9571 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.7963, allocations: 187.4 kB / 0.9572 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/0.7963, allocations: 190 kB / 0.9574 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.103e-05/0.7964, allocations: 101 kB / 0.9575 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.7964, allocations: 177.4 kB / 0.9577 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.7965, allocations: 114 kB / 0.9578 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.865e-05/0.7965, allocations: 83.19 kB / 0.9579 GB, free: 480 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7965, allocations: 0 / 0.9579 GB, free: 480 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003562/0.7969, allocations: 59.86 kB / 0.9579 GB, free: 456 kB / 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.0007837/0.7977, allocations: 394.6 kB / 0.9583 GB, free: 200 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.706e-05/0.7978, allocations: 11.56 kB / 0.9583 GB, free: 196 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7978, allocations: 0 / 0.9583 GB, free: 196 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.136e-06/0.7978, allocations: 5.062 kB / 0.9583 GB, free: 192 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.7982, allocations: 457 kB / 0.9588 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000267/0.7985, allocations: 165.6 kB / 0.9589 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.7988, allocations: 0.683 MB / 0.9596 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001383/0.7989, allocations: 10.19 kB / 0.9596 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.799, allocations: 15.3 kB / 0.9596 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of SimCode: time 8.62e-07/0.799, allocations: 1.156 kB / 0.9596 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of Templates: time 0.004988/0.804, allocations: 1.509 MB / 0.9611 GB, free: 14.04 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