Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.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.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005562/0.005562, allocations: 98.77 kB / 15.73 MB, free: 6.051 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.00176/0.00176, allocations: 196.2 kB / 16.68 MB, free: 5.965 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.271/1.271, 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.184/2.184, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 60.05 kB / 0.9508 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9183/0.9197, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001839/0.9215, allocations: 0.5455 MB / 1.088 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.9233, allocations: 1.195 MB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.9233, allocations: 0 / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.9234, allocations: 2.562 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.284e-05/0.9235, allocations: 6.438 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007252/0.9242, allocations: 278.1 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.9244, allocations: 82.84 kB / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.9245, allocations: 4.297 kB / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.973e-05/0.9246, allocations: 41.3 kB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.237e-05/0.9247, allocations: 37.86 kB / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.9247, allocations: 3.75 kB / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.9251, allocations: 213.1 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.324e-05/0.9251, allocations: 5.406 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.715e-05/0.9252, allocations: 30.88 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004326/0.9256, allocations: 253.5 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.9257, allocations: 0.6875 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9257, allocations: 0 / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.9257, allocations: 1.203 kB / 1.091 GB, free: 4.023 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.0003969/0.9261, allocations: 447.7 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.9261, allocations: 10.39 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.842e-05/0.9262, allocations: 89.97 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.9263, allocations: 256.2 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.9263, allocations: 154.8 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.362e-05/0.9264, allocations: 159.8 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.761e-05/0.9264, allocations: 110.5 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.9265, allocations: 75.91 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.9265, allocations: 158.6 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.9265, allocations: 151.5 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.264e-05/0.9265, allocations: 152 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.9267, allocations: 468.8 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.442e-05/0.9268, allocations: 178.5 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.598e-05/0.9268, allocations: 80.95 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.9268, allocations: 75.28 kB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.9268, allocations: 111.4 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.312e-06/0.9269, allocations: 3.984 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.251e-05/0.9269, allocations: 33.59 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.927, allocations: 131.4 kB / 1.093 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.9271, allocations: 145.3 kB / 1.093 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.9271, allocations: 28.64 kB / 1.093 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.311e-05/0.9272, allocations: 93.97 kB / 1.094 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/0.9272, allocations: 0.7812 kB / 1.094 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.057e-05/0.9273, allocations: 49.53 kB / 1.094 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.591e-05/0.9274, allocations: 314.5 kB / 1.094 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.9275, allocations: 63.69 kB / 1.094 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.9277, allocations: 64.38 kB / 1.094 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.9278, allocations: 93.88 kB / 1.094 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.9278, allocations: 1.031 kB / 1.094 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004323/0.9283, allocations: 228.1 kB / 1.094 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.18e-05/0.9283, allocations: 42.2 kB / 1.094 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.9283, allocations: 4.812 kB / 1.094 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.9284, allocations: 0.8438 kB / 1.094 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.615e-06/0.9284, allocations: 0.7969 kB / 1.094 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.9284, allocations: 0.8438 kB / 1.094 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/0.9287, allocations: 39.27 kB / 1.094 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.234e-05/0.9287, allocations: 17.77 kB / 1.094 GB, free: 16.38 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: 3 (yI2[2],yI2[1],yI1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001459/0.9289, allocations: 194 kB / 1.095 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.152e-05/0.929, allocations: 112.2 kB / 1.095 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.543e-05/0.929, allocations: 112.5 kB / 1.095 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-05/0.9291, allocations: 181.5 kB / 1.095 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.241e-05/0.9292, allocations: 181.8 kB / 1.095 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-05/0.9293, allocations: 182.4 kB / 1.095 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.9295, allocations: 413 kB / 1.096 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.892e-05/0.9296, allocations: 107 kB / 1.096 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.545e-05/0.9296, allocations: 114.3 kB / 1.096 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.28e-05/0.9297, allocations: 181.8 kB / 1.096 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.312e-05/0.9298, allocations: 181.7 kB / 1.096 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.286e-05/0.9299, allocations: 178.6 kB / 1.096 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-05/0.9299, allocations: 177.8 kB / 1.097 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.9301, allocations: 319.7 kB / 1.097 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.992e-05/0.9301, allocations: 188.2 kB / 1.097 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.39e-05/0.9302, allocations: 178.6 kB / 1.097 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.64e-05/0.9303, allocations: 103 kB / 1.097 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.68e-05/0.9304, allocations: 185.6 kB / 1.098 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.9304, allocations: 103.2 kB / 1.098 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.306e-05/0.9305, allocations: 107.9 kB / 1.098 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9305, allocations: 0 / 1.098 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004146/0.9309, allocations: 72.75 kB / 1.098 GB, free: 12.79 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.0007309/0.9317, allocations: 399.2 kB / 1.098 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000328/0.932, allocations: 216.7 kB / 1.098 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.932, allocations: 0 / 1.098 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.465e-06/0.932, allocations: 0.6875 kB / 1.098 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.9324, allocations: 462.6 kB / 1.099 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.9327, allocations: 221.5 kB / 1.099 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.933, allocations: 0.6794 MB / 1.1 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.9331, allocations: 52.88 kB / 1.1 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.559e-05/0.9331, allocations: 10.17 kB / 1.1 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.9332, allocations: 0 / 1.1 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of Templates: time 0.006839/0.94, allocations: 2.604 MB / 1.102 GB, free: 10.79 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches