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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001208/0.001208, allocations: 108.1 kB / 16.41 MB, free: 6.512 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.001306/0.001306, allocations: 190.7 kB / 17.35 MB, free: 5.73 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.444/1.444, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.731/2.731, allocations: 469.4 MB / 0.7428 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 63.91 kB / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.066, allocations: 159.1 MB / 1.221 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002099/1.068, allocations: 0.5329 MB / 1.221 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00166/1.07, allocations: 1.132 MB / 1.223 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.934e-05/1.07, allocations: 4 kB / 1.223 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.663e-05/1.07, allocations: 8 kB / 1.223 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.178e-05/1.07, allocations: 0 / 1.223 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006201/1.071, allocations: 167.4 kB / 1.223 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.686e-05/1.071, allocations: 15.97 kB / 1.223 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/1.071, allocations: 4 kB / 1.223 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.034e-05/1.071, allocations: 8 kB / 1.223 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.552e-05/1.071, allocations: 11.92 kB / 1.223 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/1.071, allocations: 4 kB / 1.223 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004288/1.071, allocations: 199.6 kB / 1.223 GB, free: 324 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/1.072, allocations: 8 kB / 1.223 GB, free: 316 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/1.072, allocations: 3.984 kB / 1.223 GB, free: 312 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003481/1.072, allocations: 191.7 kB / 1.223 GB, free: 120 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/1.072, allocations: 0 / 1.223 GB, free: 120 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.513e-06/1.072, allocations: 0 / 1.223 GB, free: 120 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.851e-06/1.072, allocations: 0 / 1.223 GB, free: 120 kB / 0.9356 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.0004112/1.072, allocations: 363.5 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/1.072, allocations: 12.62 kB / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.835e-05/1.072, allocations: 84.12 kB / 1.224 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/1.073, allocations: 247.4 kB / 1.224 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.025e-05/1.073, allocations: 154.9 kB / 1.224 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.952e-05/1.073, allocations: 154.9 kB / 1.224 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.37e-05/1.073, allocations: 113 kB / 1.224 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/1.073, allocations: 79.28 kB / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.97e-05/1.073, allocations: 154.6 kB / 1.224 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.104e-05/1.073, allocations: 154.6 kB / 1.225 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.007e-05/1.073, allocations: 150.6 kB / 1.225 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/1.073, allocations: 445.9 kB / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.619e-05/1.073, allocations: 177.1 kB / 1.225 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/1.073, allocations: 81.11 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-05/1.074, allocations: 75.28 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.564e-05/1.074, allocations: 117.7 kB / 1.226 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.532e-06/1.074, allocations: 0 / 1.226 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 8.801e-05/1.074, allocations: 33.75 kB / 1.226 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/1.074, allocations: 55.41 kB / 1.226 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/1.074, allocations: 97.84 kB / 1.226 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/1.074, allocations: 33.64 kB / 1.226 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/1.074, allocations: 84.14 kB / 1.226 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/1.074, allocations: 0 / 1.226 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/1.074, allocations: 17.7 kB / 1.226 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.485e-05/1.074, allocations: 314.8 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.043e-05/1.074, allocations: 11.94 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.979e-05/1.074, allocations: 15.98 kB / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.092e-05/1.074, allocations: 20.84 kB / 1.226 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/1.074, allocations: 0 / 1.226 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001399/1.074, allocations: 53.67 kB / 1.226 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/1.074, allocations: 7.938 kB / 1.226 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.074, allocations: 0 / 1.226 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/1.074, allocations: 4 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.615e-06/1.074, allocations: 3.938 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/1.074, allocations: 128 / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.728e-05/1.075, allocations: 7.906 kB / 1.226 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/1.075, allocations: 4 kB / 1.226 GB, free: 12.63 MB / 0.9512 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.065e-05/1.075, allocations: 189.6 kB / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.7e-05/1.075, allocations: 104.9 kB / 1.227 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.837e-05/1.075, allocations: 108.1 kB / 1.227 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.357e-05/1.075, allocations: 180.2 kB / 1.227 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.464e-05/1.075, allocations: 113 kB / 1.227 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/1.075, allocations: 182 kB / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.238e-05/1.075, allocations: 176.3 kB / 1.227 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.098e-05/1.075, allocations: 105.1 kB / 1.227 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/1.075, allocations: 188.2 kB / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001004/1.075, allocations: 259.5 kB / 1.228 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001643/1.075, allocations: 383 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.688e-05/1.076, allocations: 104.9 kB / 1.228 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.317e-05/1.076, allocations: 83.27 kB / 1.228 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of Backend: time 1.933e-06/1.076, allocations: 0 / 1.228 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009924/1.077, allocations: 304.3 kB / 1.229 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005292/1.077, allocations: 0.8385 MB / 1.229 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of Templates: time 0.004189/1.081, allocations: 1.538 MB / 1.231 GB, free: 7.742 MB / 0.9512 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/jenkins1/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