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.00145/0.00145, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001694/0.001694, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.391/1.391, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.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.432/2.432, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 59.91 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8459/0.8474, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001739/0.8492, allocations: 0.5356 MB / 1.089 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.8506, allocations: 1.126 MB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.201e-05/0.8507, allocations: 3.938 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.657e-05/0.8508, allocations: 7.062 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.524e-05/0.8508, allocations: 0 / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004944/0.8513, allocations: 168.9 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.55e-05/0.8514, allocations: 12.45 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.492e-05/0.8515, allocations: 1.656 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.932e-05/0.8515, allocations: 18.42 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.705e-05/0.8515, allocations: 6.125 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.8516, allocations: 1.656 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004044/0.852, allocations: 204.4 kB / 1.091 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.732e-05/0.852, allocations: 11.44 kB / 1.091 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.8521, allocations: 7.828 kB / 1.091 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.8524, allocations: 191.2 kB / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.8524, allocations: 0.5625 kB / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8524, allocations: 0 / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.8524, allocations: 0.9375 kB / 1.091 GB, free: 4.16 MB / 0.8575 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.0003103/0.8527, allocations: 367.8 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.8528, allocations: 8.938 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.8528, allocations: 82.19 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.089e-05/0.8529, allocations: 242.3 kB / 1.092 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.8529, allocations: 160 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.853, allocations: 153 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.968e-05/0.853, allocations: 106.7 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.853, allocations: 79.22 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.8531, allocations: 155.6 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.8531, allocations: 151.1 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.966e-05/0.8531, allocations: 151.8 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.8533, allocations: 448.6 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.973e-05/0.8533, allocations: 171 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.391e-05/0.8534, allocations: 84.08 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.8534, allocations: 75.28 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.8534, allocations: 115.6 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.8534, allocations: 0 / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.882e-05/0.8535, allocations: 32.67 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.777e-05/0.8535, allocations: 56.02 kB / 1.093 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.75e-05/0.8536, allocations: 110.7 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.8536, allocations: 26.83 kB / 1.093 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.375e-05/0.8537, allocations: 82.09 kB / 1.094 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.8537, allocations: 0 / 1.094 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.8537, allocations: 17.38 kB / 1.094 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.494e-05/0.8538, allocations: 317.2 kB / 1.094 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.64e-05/0.8538, allocations: 6.578 kB / 1.094 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.042e-05/0.8539, allocations: 17.69 kB / 1.094 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.965e-05/0.8539, allocations: 23.12 kB / 1.094 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8539, allocations: 1.125 kB / 1.094 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001293/0.854, allocations: 46.75 kB / 1.094 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.8541, allocations: 9.031 kB / 1.094 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.8541, allocations: 1.312 kB / 1.094 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.8541, allocations: 0.6562 kB / 1.094 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.803e-06/0.8541, allocations: 0.9375 kB / 1.094 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.8541, allocations: 7.922 kB / 1.094 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.004e-05/0.8542, allocations: 6.594 kB / 1.094 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.8542, allocations: 11.38 kB / 1.094 GB, free: 16.82 MB / 0.8731 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.0001055/0.8543, allocations: 190.6 kB / 1.094 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.996e-05/0.8544, allocations: 111.3 kB / 1.094 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.694e-05/0.8545, allocations: 106.8 kB / 1.094 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.117e-05/0.8545, allocations: 181.5 kB / 1.095 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.555e-05/0.8546, allocations: 106.5 kB / 1.095 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.302e-05/0.8547, allocations: 180.7 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.542e-05/0.8547, allocations: 182.8 kB / 1.095 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.586e-05/0.8548, allocations: 106.5 kB / 1.095 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.81e-05/0.8549, allocations: 185.8 kB / 1.095 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001003/0.855, allocations: 257.9 kB / 1.096 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000155/0.8552, allocations: 388.4 kB / 1.096 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.99e-05/0.8552, allocations: 106.6 kB / 1.096 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.953e-05/0.8553, allocations: 84.64 kB / 1.096 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of Backend: time 1.9e-07/0.8553, allocations: 0 / 1.096 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009633/0.8562, allocations: 302.7 kB / 1.096 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0006414/0.8569, allocations: 0.8314 MB / 1.097 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of Templates: time 0.004414/0.8613, allocations: 1.52 MB / 1.099 GB, free: 13.41 MB / 0.8731 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/jenkins1/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