Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008313/0.008313, allocations: 97.36 kB / 15.73 MB, free: 6.043 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.001833/0.001833, allocations: 199.5 kB / 16.68 MB, free: 5.965 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.789/2.789, allocations: 469.8 MB / 0.7425 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 67.89 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3493, allocations: 159.1 MB / 1.221 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002306/0.3516, allocations: 0.5402 MB / 1.221 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001967/0.3535, allocations: 1.136 MB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.335e-05/0.3536, allocations: 0 / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.3537, allocations: 3.938 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.449e-05/0.3538, allocations: 0 / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007554/0.3545, allocations: 183.4 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.74e-05/0.3546, allocations: 11.98 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.144e-05/0.3546, allocations: 4 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.912e-05/0.3547, allocations: 7.984 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.849e-05/0.3547, allocations: 11.94 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.3547, allocations: 0 / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005144/0.3553, allocations: 207.6 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.578e-05/0.3553, allocations: 4 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.695e-05/0.3553, allocations: 4 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004005/0.3557, allocations: 187.5 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3558, allocations: 4 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3558, allocations: 7.938 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.587e-06/0.3558, allocations: 0 / 1.223 GB, free: 11.56 MB / 0.9825 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.0005116/0.3563, allocations: 367 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.3563, allocations: 8.031 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.826e-05/0.3564, allocations: 80.22 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.3566, allocations: 239.7 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.796e-05/0.3567, allocations: 158.9 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.805e-05/0.3568, allocations: 158.9 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.737e-05/0.3568, allocations: 109 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.3569, allocations: 75.28 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.491e-05/0.3569, allocations: 150.6 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.405e-05/0.357, allocations: 150.6 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.222e-05/0.357, allocations: 162.4 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.3574, allocations: 453.9 kB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.521e-05/0.3574, allocations: 165.1 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/0.3575, allocations: 88.14 kB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.3575, allocations: 75.28 kB / 1.225 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.508e-05/0.3576, allocations: 125.7 kB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.3576, allocations: 0 / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.525e-05/0.3577, allocations: 29.66 kB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.3577, allocations: 130.7 kB / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.3579, allocations: 101.8 kB / 1.226 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.3579, allocations: 25.7 kB / 1.226 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.3579, allocations: 84.14 kB / 1.226 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.3579, allocations: 4 kB / 1.226 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.358, allocations: 17.7 kB / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3581, allocations: 314.8 kB / 1.226 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.638e-05/0.3581, allocations: 11.98 kB / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.384e-05/0.3582, allocations: 4 kB / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.686e-05/0.3582, allocations: 28.78 kB / 1.226 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3582, allocations: 0 / 1.226 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001847/0.3584, allocations: 57.72 kB / 1.226 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.3584, allocations: 4 kB / 1.226 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.3584, allocations: 0 / 1.226 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.3585, allocations: 0 / 1.226 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.3585, allocations: 0 / 1.226 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.3585, allocations: 7.984 kB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.3586, allocations: 0 / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.3586, allocations: 4 kB / 1.226 GB, free: 8.008 MB / 0.9825 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.0001356/0.3587, allocations: 185.7 kB / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.889e-05/0.3588, allocations: 116.9 kB / 1.226 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.078e-05/0.3589, allocations: 108.1 kB / 1.226 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.088e-05/0.359, allocations: 180.2 kB / 1.227 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.14e-05/0.3591, allocations: 176.3 kB / 1.227 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001088/0.3592, allocations: 180.3 kB / 1.227 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.3595, allocations: 409.2 kB / 1.227 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.981e-05/0.3595, allocations: 105 kB / 1.227 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.907e-05/0.3596, allocations: 112.9 kB / 1.228 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.252e-05/0.3596, allocations: 180.2 kB / 1.228 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.827e-05/0.3597, allocations: 180.2 kB / 1.228 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.083e-05/0.3598, allocations: 188.1 kB / 1.228 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-05/0.3599, allocations: 184.3 kB / 1.228 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.3601, allocations: 303.9 kB / 1.229 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-05/0.3602, allocations: 194 kB / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.611e-05/0.3603, allocations: 184.2 kB / 1.229 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.152e-05/0.3604, allocations: 109 kB / 1.229 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-05/0.3604, allocations: 180.2 kB / 1.229 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.033e-05/0.3605, allocations: 101 kB / 1.229 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.991e-05/0.3605, allocations: 87.27 kB / 1.229 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5e-08/0.3605, allocations: 0 / 1.229 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000432/0.361, allocations: 55.73 kB / 1.229 GB, free: 4.344 MB / 0.9825 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.0007881/0.3618, allocations: 389.4 kB / 1.23 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.3619, allocations: 11.94 kB / 1.23 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3619, allocations: 0 / 1.23 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.973e-06/0.3619, allocations: 4.062 kB / 1.23 GB, free: 4 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.3622, allocations: 463.7 kB / 1.23 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.3625, allocations: 164 kB / 1.23 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.3628, allocations: 0.6768 MB / 1.231 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001146/0.3629, allocations: 4 kB / 1.231 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/0.3629, allocations: 23.42 kB / 1.231 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of SimCode: time 9.82e-07/0.3629, allocations: 0 / 1.231 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of Templates: time 0.004352/0.3673, allocations: 1.516 MB / 1.233 GB, free: 1.117 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches