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.001185/0.001185, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 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.001295/0.001295, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 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 0.9636/0.9636, allocations: 177.1 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.849/1.849, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|yI1.[0-9,]+.|yR2.[0-9,]+.|yI2.[0-9,]+.",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.[0-9,]+.|yI1.[0-9,]+.|yR2.[0-9,]+.|yI2.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.76 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.333e-05, allocations: 6.312 kB / 0.76 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001444/0.001467, allocations: 0.5756 MB / 0.7606 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.002782, allocations: 1.328 MB / 0.7619 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.199e-05/0.002804, allocations: 0 / 0.7619 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.525e-05/0.00289, allocations: 5.359 kB / 0.7619 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.317e-05/0.002933, allocations: 0 / 0.7619 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006924/0.003625, allocations: 298.7 kB / 0.7622 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.003739, allocations: 73.91 kB / 0.7622 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.244e-05/0.003771, allocations: 7.922 kB / 0.7622 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.24e-05/0.003834, allocations: 48.11 kB / 0.7623 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.619e-05/0.0039, allocations: 42.03 kB / 0.7623 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.003915, allocations: 5.688 kB / 0.7623 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003477/0.004262, allocations: 214.2 kB / 0.7625 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.364e-05/0.004296, allocations: 14.38 kB / 0.7625 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.844e-05/0.004334, allocations: 27.91 kB / 0.7626 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.004683, allocations: 289 kB / 0.7628 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.004686, allocations: 0 / 0.7628 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.863e-06/0.004688, allocations: 3.984 kB / 0.7628 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.004692, allocations: 0 / 0.7628 GB, free: 3.789 MB / 0.7136 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.0003057/0.004998, allocations: 338 kB / 0.7632 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.005029, allocations: 13.19 kB / 0.7632 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/0.005077, allocations: 80.22 kB / 0.7633 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.005178, allocations: 193 kB / 0.7634 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.805e-05/0.005216, allocations: 164.9 kB / 0.7636 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.005367, allocations: 158.9 kB / 0.7637 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.107e-05/0.005418, allocations: 101.5 kB / 0.7638 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.005439, allocations: 75.47 kB / 0.7639 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/0.005478, allocations: 158.7 kB / 0.7641 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.203e-05/0.00551, allocations: 151.3 kB / 0.7642 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.38e-05/0.005544, allocations: 154.6 kB / 0.7644 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.005705, allocations: 373.9 kB / 0.7647 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.843e-05/0.005763, allocations: 165.1 kB / 0.7649 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.985e-05/0.005783, allocations: 84.77 kB / 0.765 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.0058, allocations: 75.28 kB / 0.765 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.005829, allocations: 111.7 kB / 0.7651 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.00583, allocations: 0 / 0.7651 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 5.862e-05/0.005889, allocations: 45.67 kB / 0.7652 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.005927, allocations: 126.7 kB / 0.7653 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.695e-05/0.006014, allocations: 145 kB / 0.7654 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.006031, allocations: 31.05 kB / 0.7655 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.187e-05/0.006063, allocations: 88.12 kB / 0.7656 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.212e-06/0.006064, allocations: 4 kB / 0.7656 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.201e-05/0.006116, allocations: 37.67 kB / 0.7656 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.946e-05/0.006186, allocations: 319.9 kB / 0.7659 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.202e-05/0.006258, allocations: 60.5 kB / 0.766 GB, free: 456 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.59e-05/0.006303, allocations: 59.77 kB / 0.766 GB, free: 392 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.512e-05/0.006369, allocations: 73.34 kB / 0.7661 GB, free: 308 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.006371, allocations: 0 / 0.7661 GB, free: 308 kB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001543/0.006525, allocations: 165 kB / 0.7662 GB, free: 124 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.00656, allocations: 41.69 kB / 0.7663 GB, free: 76 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.006565, allocations: 4 kB / 0.7663 GB, free: 72 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.006576, allocations: 2.75 kB / 0.7663 GB, free: 72 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.587e-06/0.006579, allocations: 0 / 0.7663 GB, free: 72 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.006582, allocations: 0 / 0.7663 GB, free: 72 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.006695, allocations: 23.81 kB / 0.7663 GB, free: 48 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.006717, allocations: 12.06 kB / 0.7663 GB, free: 36 kB / 0.7136 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 (yI1[1],yI2[1],yI2[2]) * 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.0001039/0.006821, allocations: 191.9 kB / 0.7665 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.006863, allocations: 114.5 kB / 0.7666 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.894e-05/0.006912, allocations: 108.4 kB / 0.7667 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.913e-05/0.006951, allocations: 180.3 kB / 0.7669 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.772e-05/0.006999, allocations: 188.1 kB / 0.7671 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-05/0.007038, allocations: 181.1 kB / 0.7672 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003379/0.007375, allocations: 325.4 kB / 0.7675 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.409e-05/0.0074, allocations: 109 kB / 0.7677 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.007423, allocations: 109.9 kB / 0.7678 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.631e-05/0.007459, allocations: 184.2 kB / 0.7679 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-05/0.007495, allocations: 176.8 kB / 0.7681 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.486e-05/0.00754, allocations: 180.3 kB / 0.7683 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.66e-05/0.007576, allocations: 187.4 kB / 0.7685 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.878e-05/0.007665, allocations: 307.7 kB / 0.7687 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.0077, allocations: 113 kB / 0.7689 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.00774, allocations: 184.2 kB / 0.769 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.478e-05/0.007785, allocations: 101 kB / 0.7691 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.007824, allocations: 176.3 kB / 0.7693 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.007844, allocations: 104.9 kB / 0.7694 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.865e-05/0.007873, allocations: 26.94 kB / 0.7694 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.007873, allocations: 2.438 kB / 0.7694 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002154/0.008088, allocations: 67.8 kB / 0.7695 GB, free: 12.62 MB / 0.7292 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.0008794/0.008968, allocations: 483.5 kB / 0.7699 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001434/0.009111, allocations: 145.9 kB / 0.7701 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.009115, allocations: 0 / 0.7701 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.009116, allocations: 0 / 0.7701 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.009303, allocations: 471.5 kB / 0.7705 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002114/0.009515, allocations: 214.1 kB / 0.7707 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.999e-05/0.009545, allocations: 59.34 kB / 0.7708 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.49e-05/0.00961, allocations: 51.86 kB / 0.7708 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.009728, allocations: 90.45 kB / 0.7709 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/0.009728, allocations: 0 / 0.7709 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of Templates: time 0.004328/0.01406, allocations: 3.031 MB / 0.7739 GB, free: 8.34 MB / 0.7292 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.035023631993681]