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.002095/0.002095, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.002625/0.002625, allocations: 191.6 kB / 16.14 MB, free: 6.715 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.449/1.449, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.495/2.495, allocations: 390.2 MB / 0.6642 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 59.91 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8322/0.8335, allocations: 140.4 MB / 0.9489 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001952/0.8355, allocations: 0.6008 MB / 0.9495 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.837, allocations: 1.118 MB / 0.9506 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.749e-05/0.837, allocations: 0 / 0.9506 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.8371, allocations: 9.312 kB / 0.9506 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.649e-05/0.8372, allocations: 3.984 kB / 0.9506 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.8376, allocations: 135.8 kB / 0.9507 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.299e-05/0.8377, allocations: 17.55 kB / 0.9508 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.055e-05/0.8377, allocations: 9.375 kB / 0.9508 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.844e-05/0.8377, allocations: 9.484 kB / 0.9508 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.771e-05/0.8378, allocations: 8.062 kB / 0.9508 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.8378, allocations: 1.375 kB / 0.9508 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003711/0.8382, allocations: 179.1 kB / 0.951 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.164e-05/0.8382, allocations: 4.125 kB / 0.951 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.028e-05/0.8383, allocations: 3.031 kB / 0.951 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.8386, allocations: 197.6 kB / 0.9511 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.8386, allocations: 0 / 0.9511 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.11e-07/0.8386, allocations: 0 / 0.9511 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.8386, allocations: 1.312 kB / 0.9511 GB, free: 7.562 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.0003353/0.8389, allocations: 374 kB / 0.9515 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.839, allocations: 8.812 kB / 0.9515 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.8391, allocations: 77.53 kB / 0.9516 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.55e-05/0.8392, allocations: 238.9 kB / 0.9518 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.8392, allocations: 156.1 kB / 0.952 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.8392, allocations: 152.2 kB / 0.9521 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.2e-05/0.8393, allocations: 118.4 kB / 0.9522 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.8393, allocations: 75.28 kB / 0.9523 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.8393, allocations: 151.8 kB / 0.9524 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.8393, allocations: 154.6 kB / 0.9526 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.394e-05/0.8394, allocations: 150.6 kB / 0.9527 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002065/0.8396, allocations: 461.6 kB / 0.9532 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.343e-05/0.8396, allocations: 170.1 kB / 0.9533 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.178e-05/0.8397, allocations: 81.77 kB / 0.9534 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.8397, allocations: 75.28 kB / 0.9535 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.8397, allocations: 117.7 kB / 0.9536 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.8397, allocations: 0 / 0.9536 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.769e-05/0.8398, allocations: 28.58 kB / 0.9536 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.8398, allocations: 126.7 kB / 0.9537 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.8399, allocations: 112.1 kB / 0.9538 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.84, allocations: 25.7 kB / 0.9539 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.943e-05/0.84, allocations: 82.39 kB / 0.954 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.84, allocations: 0 / 0.954 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.84, allocations: 23.19 kB / 0.954 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.43e-05/0.8401, allocations: 316 kB / 0.9543 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.92e-05/0.8401, allocations: 5.5 kB / 0.9543 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.2e-05/0.8402, allocations: 15.36 kB / 0.9543 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.63e-05/0.8402, allocations: 20.11 kB / 0.9543 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.8402, allocations: 0 / 0.9543 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001264/0.8404, allocations: 59.08 kB / 0.9544 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.8404, allocations: 5.188 kB / 0.9544 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.8404, allocations: 9 kB / 0.9544 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.8404, allocations: 0 / 0.9544 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.272e-06/0.8404, allocations: 0 / 0.9544 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.8404, allocations: 0.9688 kB / 0.9544 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.438e-05/0.8405, allocations: 5.906 kB / 0.9544 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.8405, allocations: 10.17 kB / 0.9544 GB, free: 4.105 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 8.107e-05/0.8406, allocations: 191.2 kB / 0.9546 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.8407, allocations: 107 kB / 0.9547 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.8407, allocations: 116.8 kB / 0.9548 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.26e-05/0.8408, allocations: 181.5 kB / 0.955 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.812e-05/0.8408, allocations: 176.8 kB / 0.9551 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-05/0.8409, allocations: 185.5 kB / 0.9553 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.841, allocations: 396.2 kB / 0.9557 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.252e-05/0.8411, allocations: 112.9 kB / 0.9558 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-05/0.8411, allocations: 110.5 kB / 0.9559 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-05/0.8411, allocations: 178 kB / 0.9561 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.02e-05/0.8412, allocations: 180.2 kB / 0.9562 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.673e-05/0.8412, allocations: 181.2 kB / 0.9564 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-05/0.8413, allocations: 186 kB / 0.9566 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.31e-05/0.8414, allocations: 307.7 kB / 0.9569 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.8414, allocations: 191.3 kB / 0.9571 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.73e-05/0.8415, allocations: 177.6 kB / 0.9572 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.411e-05/0.8415, allocations: 108.9 kB / 0.9573 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.8416, allocations: 185.9 kB / 0.9575 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.8416, allocations: 102.8 kB / 0.9576 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.553e-05/0.8417, allocations: 81.88 kB / 0.9577 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8417, allocations: 0 / 0.9577 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003924/0.8421, allocations: 59.11 kB / 0.9578 GB, free: 0.5039 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.0008212/0.8429, allocations: 381.5 kB / 0.9581 GB, free: 268 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.843, allocations: 15.77 kB / 0.9581 GB, free: 260 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.843, allocations: 1.375 kB / 0.9581 GB, free: 260 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.364e-06/0.843, allocations: 0 / 0.9581 GB, free: 260 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.8435, allocations: 0.5237 MB / 0.9586 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.8438, allocations: 172.5 kB / 0.9588 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.8441, allocations: 0.6754 MB / 0.9595 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001255/0.8443, allocations: 9.609 kB / 0.9595 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.293e-05/0.8443, allocations: 15.69 kB / 0.9595 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of SimCode: time 4.11e-07/0.8443, allocations: 1.5 kB / 0.9595 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of Templates: time 0.004666/0.849, allocations: 1.505 MB / 0.961 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