Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 110.2 kB / 17.08 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 194.2 kB / 20.03 MB, free: 3.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "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: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.664/2.664, allocations: 437.1 MB / 0.7177 GB, free: 4.508 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 63.91 kB / 1.028 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2875, allocations: 151.6 MB / 1.176 GB, free: 5.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01307/0.3006, allocations: 10.09 MB / 1.186 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005822/0.3064, allocations: 3.174 MB / 1.189 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007273/0.3072, allocations: 39.81 kB / 1.189 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.309, allocations: 0.5864 MB / 1.189 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00178/0.3108, allocations: 0.7505 MB / 1.19 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001712/0.3125, allocations: 0.733 MB / 1.191 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003619/0.3161, allocations: 2.996 MB / 1.194 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003174/0.3193, allocations: 2.606 MB / 1.196 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002032/0.3214, allocations: 1.246 MB / 1.198 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002601/0.324, allocations: 1.566 MB / 1.199 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005285/0.3245, allocations: 236 kB / 1.199 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.3257, allocations: 0.4955 MB / 1.2 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001247/0.327, allocations: 1.068 MB / 1.201 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001445/0.3284, allocations: 1.113 MB / 1.202 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00436/0.3328, allocations: 3.695 MB / 1.206 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.3329, allocations: 0 / 1.206 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3329, allocations: 7.938 kB / 1.206 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.102e-05/0.333, allocations: 4 kB / 1.206 GB, free: 7.328 MB / 0.9512 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.004739/0.3377, allocations: 2.187 MB / 1.208 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.3378, allocations: 12.03 kB / 1.208 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009401/0.3472, allocations: 1.326 MB / 1.209 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002858/0.3501, allocations: 1.31 MB / 1.21 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.3502, allocations: 111.4 kB / 1.21 GB, free: 2.281 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005231/0.3507, allocations: 148.3 kB / 1.211 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006332/0.3571, allocations: 3.433 MB / 1.214 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.733e-05/0.3572, allocations: 3.938 kB / 1.214 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002278/0.3574, allocations: 67.95 kB / 1.214 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002825/0.3577, allocations: 207.1 kB / 1.214 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005728/0.3634, allocations: 3.124 MB / 1.217 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02036/0.3838, allocations: 13.57 MB / 1.23 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002705/0.3866, allocations: 1.72 MB / 1.232 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002217/0.3888, allocations: 1.444 MB / 1.234 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.901e-05/0.3889, allocations: 9 kB / 1.234 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.389, allocations: 51.55 kB / 1.234 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=104): time 2.966e-06/0.389, allocations: 0 / 1.234 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=183): time 0.7003/1.089, allocations: 36.7 MB / 1.269 GB, free: 78.05 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/1.089, allocations: 74.75 kB / 1.269 GB, free: 77.98 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/1.091, allocations: 1.053 MB / 1.271 GB, free: 77.57 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004221/1.092, allocations: 55.83 kB / 1.271 GB, free: 77.51 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004816/1.092, allocations: 0.8116 MB / 1.271 GB, free: 76.98 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006663/1.093, allocations: 0.6542 MB / 1.272 GB, free: 76.51 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007542/1.094, allocations: 363.3 kB / 1.272 GB, free: 76.36 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.829e-05/1.094, allocations: 305.1 kB / 1.273 GB, free: 76.06 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002769/1.096, allocations: 1.93 MB / 1.275 GB, free: 75.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00297/1.099, allocations: 2.286 MB / 1.277 GB, free: 74.35 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005982/1.105, allocations: 4.394 MB / 1.281 GB, free: 72.42 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-05/1.105, allocations: 2 kB / 1.281 GB, free: 72.42 MB / 0.9981 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02131/1.127, allocations: 9.027 MB / 1.29 GB, free: 69.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/1.127, allocations: 9.031 kB / 1.29 GB, free: 69.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/1.127, allocations: 9.938 kB / 1.29 GB, free: 69.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01771/1.145, allocations: 4.98 MB / 1.295 GB, free: 68.92 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008952/1.145, allocations: 190.2 kB / 1.295 GB, free: 68.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05087/1.196, allocations: 38.93 MB / 1.333 GB, free: 43.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002209/1.199, allocations: 103.9 kB / 1.333 GB, free: 43.28 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003811/1.199, allocations: 68 kB / 1.333 GB, free: 43.21 MB / 0.9981 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.001361/1.2, allocations: 0.8056 MB / 1.334 GB, free: 42.39 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004142/1.201, allocations: 148 kB / 1.334 GB, free: 42.25 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01848/1.219, allocations: 8.898 MB / 1.343 GB, free: 33.32 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/1.219, allocations: 23.94 kB / 1.343 GB, free: 33.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-05/1.219, allocations: 28 kB / 1.343 GB, free: 33.27 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-05/1.219, allocations: 7.969 kB / 1.343 GB, free: 33.26 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02358/1.243, allocations: 13.4 MB / 1.356 GB, free: 19.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.108e-05/1.243, allocations: 8.031 kB / 1.356 GB, free: 19.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004651/1.244, allocations: 119.8 kB / 1.356 GB, free: 19.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01593/1.26, allocations: 4.832 MB / 1.361 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003956/1.26, allocations: 35.94 kB / 1.361 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05691/1.317, allocations: 36.87 MB / 1.397 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/1.317, allocations: 7.25 kB / 1.397 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02243/1.339, allocations: 8.61 MB / 1.405 GB, free: 0.6328 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001606/1.341, allocations: 0.6367 MB / 1.406 GB, free: 15.97 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005537/1.342, allocations: 35.94 kB / 1.406 GB, free: 15.94 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001596/1.343, allocations: 87.89 kB / 1.406 GB, free: 15.85 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008587/1.344, allocations: 165.6 kB / 1.406 GB, free: 15.69 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000222/1.344, allocations: 44 kB / 1.406 GB, free: 15.65 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001239/1.346, allocations: 0.7421 MB / 1.407 GB, free: 14.89 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/1.346, allocations: 0 / 1.407 GB, free: 14.89 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003806/1.349, allocations: 1.004 MB / 1.408 GB, free: 13.89 MB / 1.045 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.0004185/1.35, allocations: 147 kB / 1.408 GB, free: 13.74 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01128/1.361, allocations: 5.966 MB / 1.414 GB, free: 7.723 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/1.361, allocations: 0 / 1.414 GB, free: 7.723 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.008871/1.37, allocations: 3.966 MB / 1.418 GB, free: 3.719 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/1.372, allocations: 254.3 kB / 1.418 GB, free: 3.488 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009651/1.382, allocations: 5.405 MB / 1.423 GB, free: 14.04 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001984/1.384, allocations: 1.894 MB / 1.425 GB, free: 12.1 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000328/1.384, allocations: 71.38 kB / 1.425 GB, free: 12.03 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/1.384, allocations: 0 / 1.425 GB, free: 12.03 MB / 1.061 GB Notification: Performance of Templates: time 0.08384/1.468, allocations: 69.41 MB / 1.493 GB, free: 6.602 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.25356926000677]