Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001453/0.001453, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001678/0.001678, allocations: 193 kB / 16.25 MB, free: 6.633 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.422/1.422, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.782/2.782, allocations: 472.6 MB / 0.7448 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 69.22 kB / 0.9116 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3121, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001954/0.3141, allocations: 0.5911 MB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.3157, allocations: 1.122 MB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.047e-05/0.3157, allocations: 0 / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.3158, allocations: 0 / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.789e-05/0.3159, allocations: 0 / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005/0.3164, allocations: 151.7 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.218e-05/0.3165, allocations: 19.97 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.3165, allocations: 0 / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.075e-05/0.3166, allocations: 7.984 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.201e-05/0.3166, allocations: 11.94 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.3166, allocations: 0 / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003692/0.317, allocations: 187.6 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.531e-05/0.3171, allocations: 4 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.3171, allocations: 8 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.3174, allocations: 195.6 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3174, allocations: 3.938 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3174, allocations: 0 / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.3174, allocations: 0 / 1.07 GB, free: 8.453 MB / 0.8262 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.0003721/0.3178, allocations: 363.6 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.3178, allocations: 11.97 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.62e-05/0.3179, allocations: 80.22 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.3181, allocations: 239.9 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/0.3181, allocations: 154.9 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.201e-05/0.3182, allocations: 154.9 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.437e-05/0.3183, allocations: 105.1 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.3183, allocations: 75.28 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.607e-05/0.3183, allocations: 162.5 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.686e-05/0.3184, allocations: 158.5 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.908e-05/0.3185, allocations: 154.5 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.3187, allocations: 457.8 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.306e-05/0.3188, allocations: 169.1 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.581e-05/0.3189, allocations: 84.14 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.3189, allocations: 75.28 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.694e-05/0.319, allocations: 113.7 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.319, allocations: 0 / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.645e-05/0.319, allocations: 29.7 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.3191, allocations: 130.7 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.3192, allocations: 97.84 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.3193, allocations: 29.7 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.3193, allocations: 88.14 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/0.3193, allocations: 0 / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.3194, allocations: 13.72 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.924e-05/0.3195, allocations: 314.8 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.922e-05/0.3195, allocations: 8 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.007e-05/0.3195, allocations: 15.98 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.148e-05/0.3196, allocations: 24.89 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3196, allocations: 0 / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001304/0.3197, allocations: 57.61 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3197, allocations: 4 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.3198, allocations: 0 / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3198, allocations: 0 / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.134e-06/0.3198, allocations: 4 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.3198, allocations: 0 / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.035e-05/0.3199, allocations: 0 / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.3199, allocations: 4 kB / 1.073 GB, free: 4.91 MB / 0.8262 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.000101/0.32, allocations: 185.2 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-05/0.3201, allocations: 116.8 kB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.448e-05/0.3201, allocations: 107.9 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.679e-05/0.3202, allocations: 184.2 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.373e-05/0.3202, allocations: 176.3 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.467e-05/0.3203, allocations: 184.3 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.3205, allocations: 413.1 kB / 1.074 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.083e-05/0.3205, allocations: 109 kB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.317e-05/0.3206, allocations: 116.8 kB / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.755e-05/0.3206, allocations: 176.3 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-05/0.3207, allocations: 176.3 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.592e-05/0.3208, allocations: 188.2 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.153e-05/0.3209, allocations: 176.3 kB / 1.075 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.321, allocations: 311.7 kB / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.875e-05/0.3211, allocations: 182 kB / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.915e-05/0.3211, allocations: 184.2 kB / 1.076 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.108e-05/0.3212, allocations: 109 kB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/0.3213, allocations: 184.2 kB / 1.076 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.3213, allocations: 101 kB / 1.076 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.935e-05/0.3214, allocations: 79.28 kB / 1.076 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3214, allocations: 0 / 1.076 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003162/0.3217, allocations: 59.97 kB / 1.077 GB, free: 1.242 MB / 0.8262 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.0006941/0.3224, allocations: 381.8 kB / 1.077 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.391e-05/0.3225, allocations: 23.92 kB / 1.077 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3225, allocations: 0 / 1.077 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.3225, allocations: 0 / 1.077 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.3228, allocations: 455.7 kB / 1.077 GB, free: 460 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002298/0.3231, allocations: 168.2 kB / 1.078 GB, free: 264 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.3233, allocations: 0.6807 MB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001154/0.3235, allocations: 7.984 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.3235, allocations: 11.44 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.3235, allocations: 4 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of Templates: time 0.003956/0.3275, allocations: 1.522 MB / 1.08 GB, free: 14.04 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches