Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.0007916/0.0007916, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008509/0.0008509, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 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.8646/0.8646, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.742/1.742, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.573e-05, allocations: 2.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.007037/0.007053, allocations: 9.482 MB / 1.01 GB, free: 3.461 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003226/0.01028, allocations: 3.127 MB / 1.013 GB, free: 332 kB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000321/0.0106, allocations: 47.62 kB / 1.013 GB, free: 284 kB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.01162, allocations: 0.6022 MB / 1.014 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0007751/0.01239, allocations: 0.7926 MB / 1.015 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007577/0.01315, allocations: 0.7546 MB / 1.015 GB, free: 14.12 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001628/0.01478, allocations: 3.042 MB / 1.018 GB, free: 11.07 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.0159, allocations: 1.412 MB / 1.02 GB, free: 9.613 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.01719, allocations: 1.727 MB / 1.021 GB, free: 7.883 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.01831, allocations: 1.567 MB / 1.023 GB, free: 6.312 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.01849, allocations: 236 kB / 1.023 GB, free: 6.082 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004696/0.01896, allocations: 495.2 kB / 1.024 GB, free: 5.598 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0005894/0.01955, allocations: 1.154 MB / 1.025 GB, free: 4.441 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0005586/0.02011, allocations: 0.7875 MB / 1.026 GB, free: 3.652 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.02235, allocations: 3.787 MB / 1.029 GB, free: 15.86 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.02236, allocations: 0 / 1.029 GB, free: 15.86 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.052e-06/0.02236, allocations: 0 / 1.029 GB, free: 15.86 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.127e-05/0.02238, allocations: 0 / 1.029 GB, free: 15.86 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.00215/0.02453, allocations: 2.099 MB / 1.031 GB, free: 13.71 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.02456, allocations: 12.75 kB / 1.031 GB, free: 13.7 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004251/0.02881, allocations: 1.353 MB / 1.033 GB, free: 12.35 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.03023, allocations: 1.28 MB / 1.034 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.383e-05/0.03029, allocations: 111.4 kB / 1.034 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002053/0.03049, allocations: 144.3 kB / 1.034 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003329/0.03382, allocations: 3.52 MB / 1.038 GB, free: 7.152 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/0.03385, allocations: 4.125 kB / 1.038 GB, free: 7.148 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/0.034, allocations: 64.34 kB / 1.038 GB, free: 7.086 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001489/0.03415, allocations: 207.1 kB / 1.038 GB, free: 6.883 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003322/0.03747, allocations: 3.12 MB / 1.041 GB, free: 3.758 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3834/0.4209, allocations: 9.819 MB / 1.05 GB, free: 75.74 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.4223, allocations: 1.608 MB / 1.052 GB, free: 75.22 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/0.4234, allocations: 1.322 MB / 1.053 GB, free: 74.8 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.607e-05/0.4235, allocations: 12.75 kB / 1.053 GB, free: 74.8 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.4235, allocations: 45.09 kB / 1.053 GB, free: 74.75 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=104): time 2.494e-06/0.4235, allocations: 0.5 kB / 1.053 GB, free: 74.75 MB / 0.9948 GB Notification: Performance of matching and sorting (n=183): time 0.07416/0.4977, allocations: 36.18 MB / 1.089 GB, free: 69.59 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.4977, allocations: 72.05 kB / 1.089 GB, free: 69.53 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009584/0.4987, allocations: 1.048 MB / 1.09 GB, free: 69.12 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.789e-05/0.4988, allocations: 59.02 kB / 1.09 GB, free: 69.07 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002825/0.4991, allocations: 0.8107 MB / 1.091 GB, free: 68.43 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000317/0.4994, allocations: 0.6426 MB / 1.091 GB, free: 67.93 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004838/0.4999, allocations: 358.9 kB / 1.092 GB, free: 67.78 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.524e-05/0.4999, allocations: 302.8 kB / 1.092 GB, free: 67.48 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001855/0.5017, allocations: 1.928 MB / 1.094 GB, free: 66.82 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002075/0.5038, allocations: 2.29 MB / 1.096 GB, free: 65.78 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003905/0.5077, allocations: 4.394 MB / 1.1 GB, free: 63.85 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.5077, allocations: 3.094 kB / 1.1 GB, free: 63.85 MB / 0.9948 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01253/0.5202, allocations: 8.871 MB / 1.109 GB, free: 61.25 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.5203, allocations: 12.78 kB / 1.109 GB, free: 61.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.5203, allocations: 11.16 kB / 1.109 GB, free: 61.25 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00937/0.5297, allocations: 4.963 MB / 1.114 GB, free: 60.27 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.5301, allocations: 197.4 kB / 1.114 GB, free: 60.22 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02931/0.5594, allocations: 37.81 MB / 1.151 GB, free: 31.17 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.5605, allocations: 103.9 kB / 1.151 GB, free: 31.07 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.5606, allocations: 71.94 kB / 1.151 GB, free: 31 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008222/0.5614, allocations: 0.8056 MB / 1.152 GB, free: 30.18 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.5615, allocations: 147.1 kB / 1.152 GB, free: 30.04 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009951/0.5715, allocations: 8.737 MB / 1.161 GB, free: 21.27 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.5715, allocations: 17.08 kB / 1.161 GB, free: 21.25 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.403e-05/0.5715, allocations: 28 kB / 1.161 GB, free: 21.22 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.5715, allocations: 7.969 kB / 1.161 GB, free: 21.21 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/0.5851, allocations: 12.4 MB / 1.173 GB, free: 8.742 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.5851, allocations: 4 kB / 1.173 GB, free: 8.738 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.5853, allocations: 123.8 kB / 1.173 GB, free: 8.617 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008016/0.5933, allocations: 4.814 MB / 1.178 GB, free: 3.789 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-05/0.5934, allocations: 32 kB / 1.178 GB, free: 3.758 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03353/0.6269, allocations: 35.77 MB / 1.213 GB, free: 15.61 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.6269, allocations: 7.938 kB / 1.213 GB, free: 15.6 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/0.6384, allocations: 8.452 MB / 1.221 GB, free: 7.059 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/0.6395, allocations: 0.5769 MB / 1.221 GB, free: 6.48 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.6396, allocations: 32 kB / 1.221 GB, free: 6.449 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006187/0.6402, allocations: 87.89 kB / 1.221 GB, free: 6.363 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005212/0.6408, allocations: 180.4 kB / 1.222 GB, free: 6.191 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.394e-05/0.6409, allocations: 47.98 kB / 1.222 GB, free: 6.145 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0006282/0.6415, allocations: 0.7141 MB / 1.222 GB, free: 5.418 MB / 1.042 GB Notification: Performance of sort global known variables: time 9e-08/0.6415, allocations: 8 kB / 1.222 GB, free: 5.41 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.002068/0.6436, allocations: 1 MB / 1.223 GB, free: 4.41 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002361/0.6438, allocations: 135.1 kB / 1.223 GB, free: 4.27 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.006179/0.65, allocations: 5.741 MB / 1.229 GB, free: 14.48 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.65, allocations: 4 kB / 1.229 GB, free: 14.48 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.004118/0.6541, allocations: 3.791 MB / 1.233 GB, free: 10.66 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008412/0.6549, allocations: 239.9 kB / 1.233 GB, free: 10.44 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005787/0.6607, allocations: 5.431 MB / 1.238 GB, free: 4.957 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/0.6618, allocations: 1.306 MB / 1.24 GB, free: 3.613 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.662, allocations: 68.5 kB / 1.24 GB, free: 3.547 MB / 1.057 GB Notification: Performance of SimCode: time 8.32e-07/0.662, allocations: 0 / 1.24 GB, free: 3.547 MB / 1.057 GB Notification: Performance of Templates: time 0.04825/0.7102, allocations: 70.09 MB / 1.308 GB, free: 13.45 MB / 1.135 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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: 9.356590217910707]