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.001155/0.001155, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001743/0.001743, allocations: 176.8 kB / 16.27 MB, free: 6.664 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.464/1.464, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.584/2.584, allocations: 390.9 MB / 0.6663 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003786, allocations: 12 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8806/0.881, allocations: 142.4 MB / 0.9551 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.0008427/0.8819, allocations: 269.3 kB / 0.9553 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.8833, allocations: 1.099 MB / 0.9564 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.8834, allocations: 0 / 0.9564 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.874e-05/0.8835, allocations: 12.97 kB / 0.9564 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.099e-05/0.8835, allocations: 0 / 0.9564 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.884, allocations: 140.7 kB / 0.9565 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.768e-05/0.884, allocations: 16.89 kB / 0.9565 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.8841, allocations: 1.031 kB / 0.9565 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.124e-05/0.8841, allocations: 8.828 kB / 0.9566 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.475e-05/0.8842, allocations: 13.36 kB / 0.9566 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.8842, allocations: 1.406 kB / 0.9566 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003575/0.8846, allocations: 175.5 kB / 0.9567 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.23e-05/0.8846, allocations: 7.125 kB / 0.9567 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.8847, allocations: 27.98 kB / 0.9568 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.885, allocations: 194.8 kB / 0.957 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.885, allocations: 4 kB / 0.957 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.114e-06/0.885, allocations: 0 / 0.957 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.885, allocations: 1 kB / 0.957 GB, free: 6.316 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.0003107/0.8853, allocations: 368 kB / 0.9573 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.8854, allocations: 8.625 kB / 0.9573 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.8854, allocations: 78.41 kB / 0.9574 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.8855, allocations: 238.8 kB / 0.9576 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.8856, allocations: 160 kB / 0.9578 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.8856, allocations: 152.1 kB / 0.9579 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.729e-05/0.8857, allocations: 110.1 kB / 0.958 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.8857, allocations: 75.28 kB / 0.9581 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.8857, allocations: 151.7 kB / 0.9582 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.8857, allocations: 150.6 kB / 0.9584 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.398e-05/0.8858, allocations: 155.8 kB / 0.9585 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001955/0.886, allocations: 448.2 kB / 0.959 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.432e-05/0.886, allocations: 178.2 kB / 0.9591 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.802e-05/0.886, allocations: 81.33 kB / 0.9592 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.8861, allocations: 87.27 kB / 0.9593 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.8861, allocations: 110.9 kB / 0.9594 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.8861, allocations: 0 / 0.9594 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.833e-05/0.8862, allocations: 27.89 kB / 0.9594 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.8862, allocations: 126.7 kB / 0.9595 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.435e-05/0.8863, allocations: 104.6 kB / 0.9596 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.8863, allocations: 29.64 kB / 0.9597 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.736e-05/0.8864, allocations: 85.48 kB / 0.9598 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.8864, allocations: 0 / 0.9598 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.8864, allocations: 11.16 kB / 0.9598 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.757e-05/0.8865, allocations: 316.1 kB / 0.9601 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.687e-05/0.8865, allocations: 13.27 kB / 0.9601 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.514e-05/0.8865, allocations: 11.56 kB / 0.9601 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.928e-05/0.8866, allocations: 20.03 kB / 0.9601 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8866, allocations: 96 / 0.9601 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001305/0.8867, allocations: 59.41 kB / 0.9602 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.8867, allocations: 4.656 kB / 0.9602 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.8868, allocations: 1.125 kB / 0.9602 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.8868, allocations: 0 / 0.9602 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.665e-06/0.8868, allocations: 5.375 kB / 0.9602 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.8868, allocations: 0 / 0.9602 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.04e-05/0.8869, allocations: 12.84 kB / 0.9602 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.8869, allocations: 2.719 kB / 0.9602 GB, free: 2.871 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 6.52e-05/0.887, allocations: 191.6 kB / 0.9604 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.887, allocations: 106.2 kB / 0.9605 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.887, allocations: 113 kB / 0.9606 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.8871, allocations: 185.5 kB / 0.9608 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.942e-05/0.8871, allocations: 177.6 kB / 0.9609 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.798e-05/0.8871, allocations: 185.6 kB / 0.9611 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.8873, allocations: 407 kB / 0.9615 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.686e-05/0.8873, allocations: 106.5 kB / 0.9616 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.66e-05/0.8873, allocations: 106.3 kB / 0.9617 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.503e-05/0.8873, allocations: 176.3 kB / 0.9619 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.8874, allocations: 181.9 kB / 0.962 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.602e-05/0.8874, allocations: 189.7 kB / 0.9622 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.742e-05/0.8874, allocations: 184.2 kB / 0.9624 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.395e-05/0.8875, allocations: 299.9 kB / 0.9627 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/0.8876, allocations: 195.3 kB / 0.9629 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.673e-05/0.8877, allocations: 177.7 kB / 0.963 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.809e-05/0.8877, allocations: 110.2 kB / 0.9631 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.8878, allocations: 176.3 kB / 0.9633 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.994e-05/0.8878, allocations: 102.5 kB / 0.9634 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.065e-05/0.8879, allocations: 82.67 kB / 0.9635 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8879, allocations: 0 / 0.9635 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003243/0.8882, allocations: 63.48 kB / 0.9635 GB, free: 15.27 MB / 0.7325 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.0007076/0.8889, allocations: 383.5 kB / 0.9639 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.479e-05/0.889, allocations: 6.594 kB / 0.9639 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.889, allocations: 5.25 kB / 0.9639 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.8891, allocations: 4 kB / 0.9639 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.8894, allocations: 0.5208 MB / 0.9644 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002386/0.8897, allocations: 169.9 kB / 0.9646 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.89, allocations: 0.6762 MB / 0.9653 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.63e-05/0.89, allocations: 13.81 kB / 0.9653 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.8901, allocations: 16.05 kB / 0.9653 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.8901, allocations: 0 / 0.9653 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of Templates: time 0.004295/0.8944, allocations: 1.497 MB / 0.9667 GB, free: 12.8 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