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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001061/0.001062, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001276/0.001276, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.842/2.842, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003654, allocations: 7.938 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.424, allocations: 159.6 MB / 1.058 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.0008113/0.4249, allocations: 258.2 kB / 1.058 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.4263, allocations: 1.062 MB / 1.059 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.458e-05/0.4264, allocations: 0 / 1.059 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.532e-05/0.4265, allocations: 8 kB / 1.059 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.4265, allocations: 0 / 1.059 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.4269, allocations: 135.7 kB / 1.059 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.361e-05/0.427, allocations: 15.91 kB / 1.059 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.157e-05/0.427, allocations: 4 kB / 1.059 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.228e-05/0.4271, allocations: 11.98 kB / 1.059 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.606e-05/0.4271, allocations: 4 kB / 1.059 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.4272, allocations: 8 kB / 1.059 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000328/0.4275, allocations: 163.7 kB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.46e-05/0.4276, allocations: 4 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.442e-05/0.4276, allocations: 25.7 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.4278, allocations: 143.8 kB / 1.06 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.4278, allocations: 4 kB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4279, allocations: 0 / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.4279, allocations: 0 / 1.06 GB, free: 3.445 MB / 0.8106 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.0003663/0.4282, allocations: 359.2 kB / 1.06 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.4283, allocations: 8.031 kB / 1.06 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.52e-05/0.4284, allocations: 83.28 kB / 1.06 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.4285, allocations: 246.5 kB / 1.06 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-05/0.4286, allocations: 150.6 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-05/0.4287, allocations: 158.5 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.11e-05/0.4287, allocations: 104.9 kB / 1.061 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.464e-05/0.4288, allocations: 75.28 kB / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.4288, allocations: 154.6 kB / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.338e-05/0.4289, allocations: 150.6 kB / 1.061 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.801e-05/0.429, allocations: 150.6 kB / 1.061 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002819/0.4292, allocations: 449.9 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.057e-05/0.4293, allocations: 181 kB / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.296e-05/0.4294, allocations: 84.14 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.4294, allocations: 79.22 kB / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.4295, allocations: 105.8 kB / 1.062 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.4295, allocations: 0 / 1.062 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.782e-05/0.4295, allocations: 25.7 kB / 1.062 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.109e-05/0.4296, allocations: 138.6 kB / 1.062 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.4297, allocations: 101.8 kB / 1.062 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.4298, allocations: 25.7 kB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.061e-05/0.4298, allocations: 88.03 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-06/0.4298, allocations: 7.938 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/0.4298, allocations: 0 / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.4299, allocations: 314.8 kB / 1.063 GB, free: 52 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.587e-05/0.43, allocations: 7.984 kB / 1.063 GB, free: 44 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.558e-05/0.43, allocations: 12 kB / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.912e-05/0.43, allocations: 7.984 kB / 1.063 GB, free: 24 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.4301, allocations: 4 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001492/0.4302, allocations: 53.64 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.4302, allocations: 4 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.4302, allocations: 0 / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.4303, allocations: 0 / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.718e-06/0.4303, allocations: 4 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.4303, allocations: 7.938 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.791e-05/0.4304, allocations: 4.125 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.4304, allocations: 7.984 kB / 1.063 GB, free: 15.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.4305, allocations: 181.1 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.4305, allocations: 109.1 kB / 1.063 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.677e-05/0.4306, allocations: 108.1 kB / 1.063 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-05/0.4307, allocations: 188.2 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.397e-05/0.4307, allocations: 180.3 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.705e-05/0.4308, allocations: 184.2 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.431, allocations: 401.3 kB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.324e-05/0.4311, allocations: 105 kB / 1.064 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.95e-05/0.4311, allocations: 108.9 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.978e-05/0.4312, allocations: 184.2 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-05/0.4312, allocations: 180.2 kB / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.922e-05/0.4313, allocations: 176.3 kB / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.577e-05/0.4314, allocations: 188.2 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.4315, allocations: 299.8 kB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.17e-05/0.4316, allocations: 190 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.203e-05/0.4317, allocations: 180.2 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/0.4317, allocations: 112.9 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.345e-05/0.4318, allocations: 176.3 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/0.4319, allocations: 101 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.681e-05/0.4319, allocations: 87.2 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.366e-06/0.4319, allocations: 4 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000307/0.4322, allocations: 59.92 kB / 1.066 GB, free: 12.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007381/0.433, allocations: 383 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.68e-05/0.4331, allocations: 16 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4331, allocations: 0 / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.4331, allocations: 0 / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.4335, allocations: 0.5185 MB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.4338, allocations: 170 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.4341, allocations: 0.6731 MB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.379e-05/0.4342, allocations: 11.94 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.4342, allocations: 15.42 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.4342, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.004211/0.4384, allocations: 1.478 MB / 1.07 GB, free: 9.055 MB / 0.8262 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