Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001507/0.001507, allocations: 115.8 kB / 16.37 MB, free: 6 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.00171/0.001711, allocations: 193.3 kB / 17.31 MB, free: 5.613 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.378/2.378, allocations: 437.1 MB / 0.7112 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 60.38 kB / 0.8707 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2623, allocations: 151.6 MB / 1.019 GB, free: 9.801 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001853/0.2642, allocations: 0.5376 MB / 1.019 GB, free: 9.266 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.2656, allocations: 1.122 MB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.987e-05/0.2657, allocations: 0 / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.466e-05/0.2658, allocations: 8 kB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.265e-05/0.2658, allocations: 0 / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004671/0.2663, allocations: 167.4 kB / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.199e-05/0.2664, allocations: 15.97 kB / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.336e-05/0.2664, allocations: 4 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.978e-05/0.2664, allocations: 15.92 kB / 1.021 GB, free: 7.93 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.559e-05/0.2665, allocations: 8 kB / 1.021 GB, free: 7.922 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.2665, allocations: 0 / 1.021 GB, free: 7.922 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000333/0.2669, allocations: 204.1 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.294e-05/0.2669, allocations: 4 kB / 1.021 GB, free: 7.719 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.2669, allocations: 7.938 kB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.2672, allocations: 191.7 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2672, allocations: 0 / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2672, allocations: 0 / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.2672, allocations: 0 / 1.021 GB, free: 7.523 MB / 0.795 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.000344/0.2676, allocations: 383.4 kB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.2676, allocations: 12.92 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.786e-05/0.2677, allocations: 76.22 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.2678, allocations: 243.6 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.038e-05/0.2679, allocations: 154.9 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.933e-05/0.2679, allocations: 150.9 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.318e-05/0.268, allocations: 117 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.2681, allocations: 75.28 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/0.2681, allocations: 158.6 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.633e-05/0.2682, allocations: 150.6 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.598e-05/0.2682, allocations: 150.6 kB / 1.023 GB, free: 5.789 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000272/0.2685, allocations: 457.9 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.614e-05/0.2686, allocations: 169.1 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.603e-05/0.2686, allocations: 80.14 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.2686, allocations: 75.28 kB / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.2687, allocations: 117.7 kB / 1.023 GB, free: 4.836 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.2687, allocations: 4 kB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 8.512e-05/0.2688, allocations: 29.7 kB / 1.024 GB, free: 4.797 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.2688, allocations: 134.6 kB / 1.024 GB, free: 4.652 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.269, allocations: 97.77 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.269, allocations: 33.69 kB / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/0.269, allocations: 84.14 kB / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.269, allocations: 0 / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.2691, allocations: 17.72 kB / 1.024 GB, free: 4.398 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.2692, allocations: 314.8 kB / 1.024 GB, free: 4.082 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.659e-05/0.2692, allocations: 7.984 kB / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.763e-05/0.2692, allocations: 12 kB / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.717e-05/0.2693, allocations: 20.84 kB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2693, allocations: 0 / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001334/0.2694, allocations: 57.61 kB / 1.024 GB, free: 3.977 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2695, allocations: 11.94 kB / 1.024 GB, free: 3.965 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2695, allocations: 4.125 kB / 1.024 GB, free: 3.961 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.2695, allocations: 0 / 1.024 GB, free: 3.961 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.2695, allocations: 0 / 1.024 GB, free: 3.961 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.2695, allocations: 3.984 kB / 1.024 GB, free: 3.957 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.32e-05/0.2696, allocations: 3.938 kB / 1.024 GB, free: 3.953 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.2696, allocations: 4 kB / 1.024 GB, free: 3.949 MB / 0.795 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 9.466e-05/0.2697, allocations: 185.1 kB / 1.024 GB, free: 3.758 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.514e-05/0.2698, allocations: 104.9 kB / 1.025 GB, free: 3.648 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.082e-05/0.2698, allocations: 116 kB / 1.025 GB, free: 3.527 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-05/0.2699, allocations: 184.3 kB / 1.025 GB, free: 3.34 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.412e-05/0.27, allocations: 180.3 kB / 1.025 GB, free: 3.156 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.437e-05/0.27, allocations: 180.2 kB / 1.025 GB, free: 2.973 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.2703, allocations: 405.2 kB / 1.026 GB, free: 2.52 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.025e-05/0.2703, allocations: 108.9 kB / 1.026 GB, free: 2.406 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/0.2704, allocations: 104.9 kB / 1.026 GB, free: 2.297 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.11e-05/0.2704, allocations: 180.3 kB / 1.026 GB, free: 2.113 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.848e-05/0.2705, allocations: 188.2 kB / 1.026 GB, free: 1.922 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-05/0.2706, allocations: 176.3 kB / 1.026 GB, free: 1.742 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.488e-05/0.2706, allocations: 180.2 kB / 1.026 GB, free: 1.559 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.2708, allocations: 303.8 kB / 1.027 GB, free: 1.238 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.182e-05/0.2709, allocations: 190 kB / 1.027 GB, free: 1.027 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.294e-05/0.2709, allocations: 180.3 kB / 1.027 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.058e-05/0.271, allocations: 108.9 kB / 1.027 GB, free: 0.7305 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/0.2711, allocations: 180.3 kB / 1.027 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.361e-05/0.2711, allocations: 105 kB / 1.027 GB, free: 448 kB / 0.795 GB Notification: Performance of sorting global known variables: time 3.884e-05/0.2712, allocations: 83.39 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2712, allocations: 7.938 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003234/0.2715, allocations: 59.83 kB / 1.028 GB, free: 296 kB / 0.795 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.0006762/0.2722, allocations: 381.6 kB / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.039e-05/0.2723, allocations: 12 kB / 1.028 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2723, allocations: 0 / 1.028 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.2723, allocations: 0 / 1.028 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.2727, allocations: 459.7 kB / 1.028 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002226/0.2729, allocations: 172.2 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.2731, allocations: 0.6807 MB / 1.029 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.445e-05/0.2732, allocations: 4 kB / 1.029 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.2732, allocations: 19.36 kB / 1.029 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of SimCode: time 2.655e-06/0.2732, allocations: 0 / 1.029 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of Templates: time 0.003688/0.2769, allocations: 1.522 MB / 1.031 GB, free: 13.07 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches