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.005945/0.005951, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.001528/0.001528, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.261/2.261, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.91 kB / 0.9508 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9137/0.915, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002166/0.9172, allocations: 0.5491 MB / 1.088 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0018/0.919, allocations: 1.125 MB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.028e-05/0.919, allocations: 1.312 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.9192, allocations: 0.6562 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.166e-05/0.9193, allocations: 5.906 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006461/0.9199, allocations: 169.1 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.92, allocations: 11.72 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.501e-05/0.9201, allocations: 6.25 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.065e-05/0.9201, allocations: 14.16 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.84e-05/0.9202, allocations: 6.453 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.9202, allocations: 3.938 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004969/0.9207, allocations: 201.7 kB / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.9208, allocations: 11.88 kB / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.522e-05/0.9209, allocations: 7.141 kB / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004699/0.9213, allocations: 196.2 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.9214, allocations: 0 / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.065e-06/0.9214, allocations: 0 / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.9214, allocations: 0 / 1.09 GB, free: 4.152 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.000441/0.9218, allocations: 368.9 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.9219, allocations: 8.688 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.352e-05/0.9219, allocations: 77.56 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.9221, allocations: 246.9 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.9221, allocations: 156.9 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.9222, allocations: 157 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.941e-05/0.9223, allocations: 105.7 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.9223, allocations: 79.22 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.849e-05/0.9223, allocations: 152.1 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.565e-05/0.9224, allocations: 154.6 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.501e-05/0.9224, allocations: 151.7 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002222/0.9226, allocations: 448.8 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.54e-05/0.9227, allocations: 167.2 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/0.9227, allocations: 88.08 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.9228, allocations: 76.25 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.9228, allocations: 115.6 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.9228, allocations: 0 / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.833e-05/0.9229, allocations: 32.42 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.9229, allocations: 126.7 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.9231, allocations: 111.8 kB / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.9231, allocations: 25.7 kB / 1.093 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.098e-05/0.9231, allocations: 82.11 kB / 1.093 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-06/0.9231, allocations: 0 / 1.093 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.9232, allocations: 17.19 kB / 1.093 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.9233, allocations: 316.8 kB / 1.093 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.008e-05/0.9233, allocations: 10.78 kB / 1.093 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.349e-05/0.9234, allocations: 10.84 kB / 1.093 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.665e-05/0.9234, allocations: 22.31 kB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.9234, allocations: 4 kB / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000141/0.9236, allocations: 56.42 kB / 1.093 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.9236, allocations: 5.094 kB / 1.093 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.9236, allocations: 1.094 kB / 1.093 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.9236, allocations: 192 / 1.093 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.996e-06/0.9236, allocations: 1.531 kB / 1.093 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.9237, allocations: 7.875 kB / 1.093 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.918e-05/0.9238, allocations: 15.47 kB / 1.093 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.9238, allocations: 2.562 kB / 1.093 GB, free: 16.73 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.0001551/0.9239, allocations: 188.1 kB / 1.094 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.724e-05/0.924, allocations: 115.5 kB / 1.094 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.201e-05/0.9241, allocations: 106.3 kB / 1.094 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-05/0.9242, allocations: 181.8 kB / 1.094 GB, free: 16.13 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.864e-05/0.9243, allocations: 182.7 kB / 1.094 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.688e-05/0.9243, allocations: 181.8 kB / 1.094 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.9246, allocations: 402.2 kB / 1.095 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.303e-05/0.9246, allocations: 106.6 kB / 1.095 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.948e-05/0.9247, allocations: 110.4 kB / 1.095 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.703e-05/0.9248, allocations: 177.7 kB / 1.095 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.469e-05/0.9249, allocations: 186 kB / 1.095 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.431e-05/0.925, allocations: 177.9 kB / 1.095 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.65e-05/0.925, allocations: 183.1 kB / 1.096 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.9252, allocations: 301.2 kB / 1.096 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.893e-05/0.9253, allocations: 200.1 kB / 1.096 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.135e-05/0.9254, allocations: 178.4 kB / 1.096 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.901e-05/0.9255, allocations: 102.5 kB / 1.096 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/0.9255, allocations: 181.8 kB / 1.097 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.854e-05/0.9256, allocations: 103.2 kB / 1.097 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.824e-05/0.9256, allocations: 80.98 kB / 1.097 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9256, allocations: 4 kB / 1.097 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003744/0.926, allocations: 60.03 kB / 1.097 GB, free: 13.16 MB / 0.8731 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.0007512/0.9268, allocations: 386.7 kB / 1.097 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.974e-05/0.9269, allocations: 13.69 kB / 1.097 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.9269, allocations: 0.75 kB / 1.097 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.9269, allocations: 0 / 1.097 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.9273, allocations: 454.3 kB / 1.098 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002382/0.9275, allocations: 168.2 kB / 1.098 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.9279, allocations: 0.6739 MB / 1.098 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001186/0.928, allocations: 12.86 kB / 1.098 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.928, allocations: 14.33 kB / 1.098 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of SimCode: time 8.92e-07/0.9281, allocations: 4.625 kB / 1.098 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of Templates: time 0.00535/0.9334, allocations: 1.514 MB / 1.1 GB, free: 11.4 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/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