Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001378/0.001378, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001573/0.001573, allocations: 166.2 kB / 22.46 MB, free: 5.359 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.466/1.466, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.872/2.872, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.427e-05/3.637e-05, allocations: 9.516 kB / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.02105/0.02109, allocations: 9.496 MB / 0.9907 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00952/0.03061, allocations: 2.994 MB / 0.9936 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.03165, allocations: 47.69 kB / 0.9937 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003304/0.03495, allocations: 0.6928 MB / 0.9944 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00287/0.03782, allocations: 0.7383 MB / 0.9951 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002535/0.04036, allocations: 0.6535 MB / 0.9957 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005053/0.04541, allocations: 2.784 MB / 0.9984 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003413/0.04883, allocations: 1.364 MB / 0.9998 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003898/0.05272, allocations: 1.579 MB / 1.001 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003597/0.05632, allocations: 1.372 MB / 1.003 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0007662/0.05709, allocations: 216 kB / 1.003 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.05892, allocations: 467.2 kB / 1.003 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.002044/0.06096, allocations: 1.056 MB / 1.004 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001978/0.06294, allocations: 0.7095 MB / 1.005 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006206/0.06915, allocations: 3.498 MB / 1.008 GB, free: 164 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.06916, allocations: 4 kB / 1.008 GB, free: 160 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.724e-06/0.06916, allocations: 0 / 1.008 GB, free: 160 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.501e-05/0.06925, allocations: 0 / 1.008 GB, free: 160 kB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.007392/0.07664, allocations: 1.893 MB / 1.01 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.0767, allocations: 8.031 kB / 1.01 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01134/0.08804, allocations: 0.9088 MB / 1.011 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003669/0.0917, allocations: 1.131 MB / 1.012 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.09181, allocations: 111.3 kB / 1.012 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003332/0.09215, allocations: 144.3 kB / 1.013 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005346/0.09749, allocations: 3.097 MB / 1.016 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.954e-05/0.09753, allocations: 8.125 kB / 1.016 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002101/0.09774, allocations: 68.36 kB / 1.016 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002548/0.098, allocations: 174.9 kB / 1.016 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00445/0.1024, allocations: 2.604 MB / 1.018 GB, free: 5.816 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01463/0.1171, allocations: 9.045 MB / 1.027 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.1192, allocations: 1.217 MB / 1.028 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.1206, allocations: 0.9798 MB / 1.029 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.274e-05/0.1207, allocations: 8.656 kB / 1.029 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.1207, allocations: 47.22 kB / 1.029 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.875e-06/0.1207, allocations: 0 / 1.029 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of matching and sorting (n=139): time 0.08145/0.2022, allocations: 18.88 MB / 1.048 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.2022, allocations: 68.72 kB / 1.048 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.2035, allocations: 0.9025 MB / 1.049 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001488/0.2036, allocations: 45.7 kB / 1.049 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000577/0.2042, allocations: 0.7501 MB / 1.05 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004665/0.2047, allocations: 0.4957 MB / 1.05 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006103/0.2053, allocations: 287.5 kB / 1.05 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.2054, allocations: 357.9 kB / 1.051 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002045/0.2075, allocations: 1.335 MB / 1.052 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00234/0.2098, allocations: 1.655 MB / 1.054 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004438/0.2143, allocations: 3.084 MB / 1.057 GB, free: 14.11 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.2143, allocations: 3.938 kB / 1.057 GB, free: 14.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01274/0.227, allocations: 5.565 MB / 1.062 GB, free: 8.516 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.227, allocations: 12 kB / 1.062 GB, free: 8.504 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.2271, allocations: 8.656 kB / 1.062 GB, free: 8.496 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009817/0.2369, allocations: 2.706 MB / 1.065 GB, free: 5.777 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009232/0.2378, allocations: 195.6 kB / 1.065 GB, free: 5.586 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03899/0.2768, allocations: 24.84 MB / 1.089 GB, free: 12.33 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.2784, allocations: 99.94 kB / 1.089 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001915/0.2786, allocations: 56 kB / 1.089 GB, free: 12.18 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001237/0.2798, allocations: 0.7354 MB / 1.09 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002798/0.2801, allocations: 119.2 kB / 1.09 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/0.2925, allocations: 5.314 MB / 1.095 GB, free: 5.973 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/0.2925, allocations: 12 kB / 1.095 GB, free: 5.961 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.205e-05/0.2925, allocations: 20 kB / 1.095 GB, free: 5.941 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.722e-05/0.2925, allocations: 7.922 kB / 1.095 GB, free: 5.934 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01845/0.311, allocations: 7.967 MB / 1.103 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/0.311, allocations: 3.984 kB / 1.103 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005154/0.3115, allocations: 120.3 kB / 1.103 GB, free: 13.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01059/0.3221, allocations: 2.588 MB / 1.106 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000253/0.3224, allocations: 24 kB / 1.106 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03707/0.3594, allocations: 23.32 MB / 1.129 GB, free: 3.387 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.3595, allocations: 4.125 kB / 1.129 GB, free: 3.383 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5743/0.9338, allocations: 5.164 MB / 1.134 GB, free: 179.2 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/0.9348, allocations: 422.7 kB / 1.134 GB, free: 179.2 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/0.935, allocations: 31.16 kB / 1.134 GB, free: 179.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009497/0.936, allocations: 77.12 kB / 1.134 GB, free: 179.2 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005842/0.9366, allocations: 127.5 kB / 1.134 GB, free: 179.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.9367, allocations: 36.94 kB / 1.134 GB, free: 179.2 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006729/0.9373, allocations: 0.6278 MB / 1.135 GB, free: 179.1 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9373, allocations: 2.375 kB / 1.135 GB, free: 179.1 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002059/0.9394, allocations: 0.7214 MB / 1.136 GB, free: 179.1 MB / 1.076 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002326/0.9396, allocations: 132.5 kB / 1.136 GB, free: 179 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006113/0.9457, allocations: 4.062 MB / 1.14 GB, free: 178.4 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/0.9458, allocations: 0 / 1.14 GB, free: 178.4 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.005539/0.9513, allocations: 2.611 MB / 1.142 GB, free: 177.5 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/0.9531, allocations: 213 kB / 1.142 GB, free: 177.5 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00659/0.9597, allocations: 4.058 MB / 1.146 GB, free: 175.7 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/0.961, allocations: 1.117 MB / 1.147 GB, free: 175.4 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006707/0.9616, allocations: 327.2 kB / 1.148 GB, free: 175.4 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.9618, allocations: 55.53 kB / 1.148 GB, free: 175.4 MB / 1.076 GB Notification: Performance of SimCode: time 1.202e-06/0.9618, allocations: 0 / 1.148 GB, free: 175.4 MB / 1.076 GB Notification: Performance of Templates: time 0.06116/1.023, allocations: 41.82 MB / 1.189 GB, free: 168.6 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.832973416894674]