Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00191/0.00191, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.001914/0.001914, allocations: 157.3 kB / 23.54 MB, free: 0.8828 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 1.555/1.555, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.873/2.873, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.688e-05/4.944e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.02839/0.02844, allocations: 10.07 MB / 0.7962 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01152/0.03995, allocations: 3.226 MB / 0.7994 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.04099, allocations: 43.69 kB / 0.7994 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.003026/0.04402, allocations: 0.6125 MB / 0.8 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003615/0.04763, allocations: 0.8022 MB / 0.8008 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.003258/0.05089, allocations: 0.746 MB / 0.8015 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.006379/0.05727, allocations: 3.043 MB / 0.8045 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003768/0.06104, allocations: 1.431 MB / 0.8059 GB, free: 8.766 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00473/0.06577, allocations: 1.749 MB / 0.8076 GB, free: 7.016 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004398/0.07016, allocations: 1.612 MB / 0.8092 GB, free: 5.402 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0007613/0.07093, allocations: 236 kB / 0.8094 GB, free: 5.172 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/0.07271, allocations: 491.2 kB / 0.8099 GB, free: 4.691 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001968/0.07468, allocations: 1.162 MB / 0.811 GB, free: 3.527 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001747/0.07643, allocations: 0.7914 MB / 0.8118 GB, free: 2.734 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.005583/0.08201, allocations: 3.815 MB / 0.8155 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.08201, allocations: 0 / 0.8155 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.634e-06/0.08202, allocations: 1.281 kB / 0.8155 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.312e-05/0.08208, allocations: 4 kB / 0.8155 GB, free: 14.91 MB / 0.7761 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.005163/0.08724, allocations: 2.426 MB / 0.8179 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.08729, allocations: 12.03 kB / 0.8179 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009886/0.09717, allocations: 1.666 MB / 0.8195 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0034/0.1006, allocations: 1.19 MB / 0.8207 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.1007, allocations: 111.4 kB / 0.8208 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004127/0.1011, allocations: 148.3 kB / 0.8209 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004615/0.1057, allocations: 2.03 MB / 0.8229 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.649e-05/0.1058, allocations: 12.12 kB / 0.8229 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002248/0.106, allocations: 60.34 kB / 0.823 GB, free: 7.039 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003079/0.1063, allocations: 215.1 kB / 0.8232 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003161/0.1095, allocations: 1.07 MB / 0.8242 GB, free: 5.754 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01945/0.1289, allocations: 10.68 MB / 0.8347 GB, free: 10.78 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.1306, allocations: 0.6627 MB / 0.8353 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/0.132, allocations: 0.4943 MB / 0.8358 GB, free: 9.605 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.1321, allocations: 21 kB / 0.8358 GB, free: 9.586 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.1321, allocations: 46.33 kB / 0.8359 GB, free: 9.531 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=104): time 2.986e-06/0.1321, allocations: 0 / 0.8359 GB, free: 9.531 MB / 0.7917 GB Notification: Performance of matching and sorting (n=183): time 0.03906/0.1712, allocations: 9.764 MB / 0.8454 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/0.1712, allocations: 77.34 kB / 0.8455 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/0.173, allocations: 1.12 MB / 0.8466 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0003861/0.1734, allocations: 49.7 kB / 0.8466 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009531/0.1744, allocations: 0.9135 MB / 0.8475 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009149/0.1753, allocations: 0.7132 MB / 0.8482 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009236/0.1762, allocations: 413.1 kB / 0.8486 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002679/0.1765, allocations: 476.8 kB / 0.849 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.1781, allocations: 0.5661 MB / 0.8496 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002314/0.1804, allocations: 1.126 MB / 0.8507 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003787/0.1842, allocations: 1.934 MB / 0.8526 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.1842, allocations: 8 kB / 0.8526 GB, free: 7.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01849/0.2027, allocations: 5.046 MB / 0.8575 GB, free: 2.906 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.2027, allocations: 10.19 kB / 0.8575 GB, free: 2.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/0.2028, allocations: 8 kB / 0.8575 GB, free: 2.891 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01864/0.2214, allocations: 3.727 MB / 0.8612 GB, free: 15.14 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009468/0.2223, allocations: 195.7 kB / 0.8614 GB, free: 14.95 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0483/0.2706, allocations: 20.75 MB / 0.8816 GB, free: 9.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/0.273, allocations: 103.9 kB / 0.8817 GB, free: 9.605 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002932/0.2733, allocations: 72 kB / 0.8818 GB, free: 9.535 MB / 0.8386 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.001028/0.2743, allocations: 296.2 kB / 0.8821 GB, free: 9.234 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004899/0.2748, allocations: 199.1 kB / 0.8823 GB, free: 9.039 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01851/0.2933, allocations: 4.955 MB / 0.8871 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.9e-05/0.2933, allocations: 19.94 kB / 0.8871 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.743e-05/0.2934, allocations: 32 kB / 0.8872 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.442e-05/0.2934, allocations: 7.969 kB / 0.8872 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02572/0.3192, allocations: 7.911 MB / 0.8949 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.147e-05/0.3192, allocations: 8 kB / 0.8949 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/0.3198, allocations: 123.8 kB / 0.895 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01811/0.3379, allocations: 3.603 MB / 0.8985 GB, free: 8.195 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004176/0.3383, allocations: 35.94 kB / 0.8986 GB, free: 8.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04615/0.3845, allocations: 19.1 MB / 0.9172 GB, free: 4.555 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/0.3845, allocations: 7.938 kB / 0.9172 GB, free: 4.547 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01878/0.4033, allocations: 4.937 MB / 0.9221 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002212/0.4055, allocations: 0.5067 MB / 0.9225 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003842/0.4058, allocations: 35.94 kB / 0.9226 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/0.4073, allocations: 95.81 kB / 0.9227 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000909/0.4082, allocations: 169.6 kB / 0.9228 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001695/0.4084, allocations: 44 kB / 0.9229 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001129/0.4095, allocations: 0.6672 MB / 0.9235 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1e-07/0.4095, allocations: 3.938 kB / 0.9235 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003676/0.4132, allocations: 1.008 MB / 0.9245 GB, free: 12.96 MB / 0.8855 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.0003785/0.4136, allocations: 143.1 kB / 0.9247 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.009438/0.423, allocations: 3.518 MB / 0.9281 GB, free: 9.219 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/0.423, allocations: 4.188 kB / 0.9281 GB, free: 9.215 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00856/0.4316, allocations: 2.899 MB / 0.9309 GB, free: 6.242 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/0.4334, allocations: 236.1 kB / 0.9311 GB, free: 6.016 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008906/0.4423, allocations: 4.129 MB / 0.9352 GB, free: 1.797 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00182/0.4441, allocations: 1.13 MB / 0.9363 GB, free: 0.6289 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0008532/0.445, allocations: 291.2 kB / 0.9366 GB, free: 348 kB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.4452, allocations: 64.48 kB / 0.9366 GB, free: 284 kB / 0.8855 GB Notification: Performance of SimCode: time 1.532e-06/0.4452, allocations: 0 / 0.9366 GB, free: 284 kB / 0.8855 GB Notification: Performance of Templates: time 0.1092/0.5544, allocations: 65.62 MB / 1.001 GB, free: 14.55 MB / 0.9636 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.29821101797279]