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.001629/0.001629, 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.001917/0.001917, allocations: 168.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.461/1.461, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 2.906/2.906, allocations: 389 MB / 0.633 GB, free: 1.043 MB / 0.5919 GB " [Timeout remaining time 176] 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.843e-06/1.843e-06, allocations: 0 / 1 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.665e-05, allocations: 2.281 kB / 1 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01274/0.01276, allocations: 9.491 MB / 1.009 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006116/0.01888, allocations: 3.127 MB / 1.012 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007924/0.01967, allocations: 43.69 kB / 1.013 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001939/0.02161, allocations: 0.6074 MB / 1.013 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001965/0.02358, allocations: 0.7965 MB / 1.014 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.02537, allocations: 0.7471 MB / 1.015 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004024/0.0294, allocations: 3.042 MB / 1.018 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002459/0.03186, allocations: 1.419 MB / 1.019 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00301/0.03487, allocations: 1.735 MB / 1.021 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002689/0.03756, allocations: 1.555 MB / 1.022 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0006106/0.03817, allocations: 236 kB / 1.022 GB, free: 432 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.03958, allocations: 487.2 kB / 1.023 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001546/0.04113, allocations: 1.154 MB / 1.024 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001157/0.04228, allocations: 0.7914 MB / 1.025 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00417/0.04645, allocations: 3.794 MB / 1.028 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.04646, allocations: 0 / 1.028 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.04646, allocations: 0 / 1.028 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.905e-05/0.04651, allocations: 0 / 1.028 GB, free: 10.19 MB / 0.9825 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.004178/0.05069, allocations: 2.092 MB / 1.031 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.05072, allocations: 11.97 kB / 1.031 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009824/0.06055, allocations: 1.369 MB / 1.032 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002782/0.06333, allocations: 1.265 MB / 1.033 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.06344, allocations: 115.3 kB / 1.033 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003677/0.0638, allocations: 152.3 kB / 1.033 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00604/0.06984, allocations: 3.516 MB / 1.037 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.906e-05/0.06988, allocations: 192 / 1.037 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002426/0.07013, allocations: 68.34 kB / 1.037 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002919/0.07042, allocations: 203.1 kB / 1.037 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005674/0.07609, allocations: 3.124 MB / 1.04 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01847/0.09456, allocations: 9.83 MB / 1.05 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002828/0.09739, allocations: 1.6 MB / 1.051 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002285/0.09967, allocations: 1.335 MB / 1.053 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.652e-05/0.09977, allocations: 9 kB / 1.053 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.09981, allocations: 43.56 kB / 1.053 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 3.487e-06/0.09981, allocations: 4 kB / 1.053 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of matching and sorting (n=183): time 0.1669/0.2667, allocations: 36.18 MB / 1.088 GB, free: 12.84 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.2668, allocations: 69.41 kB / 1.088 GB, free: 12.76 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/0.2683, allocations: 1.052 MB / 1.089 GB, free: 11.7 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002517/0.2686, allocations: 53.7 kB / 1.089 GB, free: 11.64 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006313/0.2692, allocations: 0.8092 MB / 1.09 GB, free: 10.82 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006401/0.2698, allocations: 0.6429 MB / 1.091 GB, free: 10.18 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008408/0.2707, allocations: 359.5 kB / 1.091 GB, free: 9.816 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2708, allocations: 301.1 kB / 1.091 GB, free: 9.52 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00308/0.2739, allocations: 1.928 MB / 1.093 GB, free: 7.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00345/0.2773, allocations: 2.289 MB / 1.095 GB, free: 5.18 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006782/0.2841, allocations: 4.387 MB / 1.1 GB, free: 0.668 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.2841, allocations: 4 kB / 1.1 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02267/0.3068, allocations: 8.873 MB / 1.108 GB, free: 7.762 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.3068, allocations: 12.12 kB / 1.108 GB, free: 7.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.3069, allocations: 8 kB / 1.108 GB, free: 7.742 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01902/0.3259, allocations: 4.97 MB / 1.113 GB, free: 2.758 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.3269, allocations: 187.6 kB / 1.113 GB, free: 2.574 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5241/0.851, allocations: 37.81 MB / 1.15 GB, free: 151.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/0.853, allocations: 101.6 kB / 1.15 GB, free: 151.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/0.8532, allocations: 66.22 kB / 1.15 GB, free: 151.5 MB / 1.076 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.001102/0.8543, allocations: 0.8017 MB / 1.151 GB, free: 151.1 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002841/0.8546, allocations: 146.7 kB / 1.151 GB, free: 151.1 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01878/0.8733, allocations: 8.742 MB / 1.16 GB, free: 148.5 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.8734, allocations: 19.19 kB / 1.16 GB, free: 148.5 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.667e-05/0.8734, allocations: 30.69 kB / 1.16 GB, free: 148.5 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.743e-05/0.8734, allocations: 9.047 kB / 1.16 GB, free: 148.5 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02775/0.9012, allocations: 12.39 MB / 1.172 GB, free: 144.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.028e-05/0.9012, allocations: 5.406 kB / 1.172 GB, free: 144.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005387/0.9017, allocations: 121.4 kB / 1.172 GB, free: 144.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01834/0.9201, allocations: 4.818 MB / 1.177 GB, free: 143.8 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002729/0.9204, allocations: 35.47 kB / 1.177 GB, free: 143.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05271/0.9731, allocations: 35.76 MB / 1.212 GB, free: 127.4 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.9731, allocations: 5.906 kB / 1.212 GB, free: 127.4 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.019/0.9921, allocations: 8.452 MB / 1.22 GB, free: 124.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/0.9935, allocations: 0.5751 MB / 1.221 GB, free: 124.2 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003421/0.9939, allocations: 32.56 kB / 1.221 GB, free: 124.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/0.9953, allocations: 90.33 kB / 1.221 GB, free: 124.1 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001028/0.9963, allocations: 175.4 kB / 1.221 GB, free: 124 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/0.9965, allocations: 46.91 kB / 1.221 GB, free: 124 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008023/0.9973, allocations: 0.7144 MB / 1.222 GB, free: 123.6 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9973, allocations: 0 / 1.222 GB, free: 123.6 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002831/1, allocations: 1.008 MB / 1.223 GB, free: 123.5 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 (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.0003152/1, allocations: 147.6 kB / 1.223 GB, free: 123.4 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.008434/1.009, allocations: 5.742 MB / 1.228 GB, free: 119.9 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/1.009, allocations: 0 / 1.228 GB, free: 119.9 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.007178/1.016, allocations: 3.781 MB / 1.232 GB, free: 116.1 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/1.017, allocations: 237 kB / 1.232 GB, free: 115.9 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006451/1.024, allocations: 5.158 MB / 1.237 GB, free: 110.7 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/1.025, allocations: 1.275 MB / 1.239 GB, free: 109.4 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006109/1.026, allocations: 351.1 kB / 1.239 GB, free: 109 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/1.026, allocations: 60.5 kB / 1.239 GB, free: 109 MB / 1.076 GB Notification: Performance of SimCode: time 9.12e-07/1.026, allocations: 0 / 1.239 GB, free: 109 MB / 1.076 GB Notification: Performance of Templates: time 0.06384/1.09, allocations: 63.91 MB / 1.301 GB, free: 44.97 MB / 1.076 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: 10.122017979621887]