Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 104.3 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002064/0.002064, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 252.8 MB, free: 9.137 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.233/3.233, allocations: 0.4899 GB / 0.7915 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_12_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=2500,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 76.34 kB / 1.149 GB, free: 26.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3463, allocations: 176.1 MB / 1.321 GB, free: 2.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001924/0.3483, allocations: 0.551 MB / 1.322 GB, free: 2.34 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001922/0.3502, allocations: 1.211 MB / 1.323 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.753e-05/0.3502, allocations: 0 / 1.323 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.424e-05/0.3503, allocations: 0 / 1.323 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.12e-05/0.3504, allocations: 3.938 kB / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006885/0.351, allocations: 283.2 kB / 1.323 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.3512, allocations: 83.8 kB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.3512, allocations: 4 kB / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.879e-05/0.3513, allocations: 35.92 kB / 1.323 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.3514, allocations: 47.88 kB / 1.323 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.3514, allocations: 4 kB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003999/0.3518, allocations: 211.6 kB / 1.324 GB, free: 472 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.057e-05/0.3519, allocations: 7.984 kB / 1.324 GB, free: 464 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.422e-05/0.3519, allocations: 31.86 kB / 1.324 GB, free: 432 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.3523, allocations: 255.2 kB / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3523, allocations: 0 / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3523, allocations: 4 kB / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.3523, allocations: 0 / 1.324 GB, free: 172 kB / 1.014 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.0005903/0.3529, allocations: 444.5 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3529, allocations: 11.98 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.713e-05/0.353, allocations: 92.16 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.3533, allocations: 255.6 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.503e-05/0.3534, allocations: 150.9 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.3535, allocations: 162.9 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.509e-05/0.3536, allocations: 109 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.563e-05/0.3536, allocations: 79.22 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-05/0.3537, allocations: 150.6 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.337e-05/0.3538, allocations: 150.6 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.137e-05/0.3538, allocations: 162.5 kB / 1.326 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.3542, allocations: 473.9 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.854e-05/0.3543, allocations: 173.1 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.067e-05/0.3543, allocations: 80.14 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.3544, allocations: 75.28 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.74e-05/0.3544, allocations: 117.8 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3544, allocations: 0 / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001039/0.3545, allocations: 37.69 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.3546, allocations: 126.7 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.3548, allocations: 145.7 kB / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.3548, allocations: 29.7 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.135e-05/0.3549, allocations: 92.12 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-06/0.3549, allocations: 4 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-05/0.355, allocations: 37.7 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3551, allocations: 322.8 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.3552, allocations: 55.95 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.3553, allocations: 64 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.3555, allocations: 98.52 kB / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3555, allocations: 0 / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004281/0.3559, allocations: 231.2 kB / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.661e-05/0.356, allocations: 48.09 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.356, allocations: 0 / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.356, allocations: 3.938 kB / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.356, allocations: 0 / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.356, allocations: 4 kB / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/0.3563, allocations: 31.86 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-05/0.3564, allocations: 15.98 kB / 1.328 GB, free: 11.96 MB / 1.029 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.00014/0.3565, allocations: 193.1 kB / 1.328 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.475e-05/0.3566, allocations: 120.9 kB / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.506e-05/0.3567, allocations: 108.5 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.431e-05/0.3568, allocations: 184.3 kB / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.482e-05/0.3568, allocations: 176.3 kB / 1.328 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000107/0.3569, allocations: 184.2 kB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.3572, allocations: 417.2 kB / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.085e-05/0.3573, allocations: 104.9 kB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.3574, allocations: 104.9 kB / 1.329 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.522e-05/0.3575, allocations: 180.3 kB / 1.329 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.202e-05/0.3576, allocations: 180.2 kB / 1.33 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.158e-05/0.3577, allocations: 184.3 kB / 1.33 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.508e-05/0.3577, allocations: 192.1 kB / 1.33 GB, free: 9.527 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.3579, allocations: 303.8 kB / 1.33 GB, free: 9.207 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.734e-05/0.358, allocations: 190 kB / 1.33 GB, free: 8.996 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.73e-05/0.3581, allocations: 180.3 kB / 1.331 GB, free: 8.812 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.523e-05/0.3582, allocations: 120.9 kB / 1.331 GB, free: 8.688 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.676e-05/0.3583, allocations: 176.3 kB / 1.331 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.848e-05/0.3584, allocations: 101 kB / 1.331 GB, free: 8.402 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.201e-05/0.3584, allocations: 113.9 kB / 1.331 GB, free: 8.293 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3584, allocations: 0 / 1.331 GB, free: 8.293 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003755/0.3588, allocations: 79.62 kB / 1.331 GB, free: 8.215 MB / 1.029 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.001221/0.36, allocations: 394.7 kB / 1.332 GB, free: 7.891 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002614/0.3603, allocations: 151.3 kB / 1.332 GB, free: 7.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3603, allocations: 4.062 kB / 1.332 GB, free: 7.727 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.3603, allocations: 0 / 1.332 GB, free: 7.727 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005604/0.3609, allocations: 459.7 kB / 1.332 GB, free: 7.273 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.3612, allocations: 224.1 kB / 1.332 GB, free: 7.027 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.3615, allocations: 0.6807 MB / 1.333 GB, free: 6.32 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.342e-05/0.3616, allocations: 51.81 kB / 1.333 GB, free: 6.27 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.785e-05/0.3616, allocations: 11.44 kB / 1.333 GB, free: 6.258 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.3616, allocations: 0 / 1.333 GB, free: 6.258 MB / 1.029 GB Notification: Performance of Templates: time 0.00588/0.3675, allocations: 2.603 MB / 1.336 GB, free: 3.672 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.84201587503776]