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.0007332/0.0007332, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009787/0.001712, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.000713/0.000713, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009155/0.001629, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9528/0.9528, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08888/1.042, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.392/2.392, allocations: 446.7 MB / 0.6745 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2417/2.633, allocations: 145.9 MB / 0.817 GB, free: 4.227 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",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.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.146e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.005894/0.005916, allocations: 6.762 MB / 0.8249 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00381/0.009726, allocations: 2.312 MB / 0.8272 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000633/0.01036, allocations: 43.69 kB / 0.8272 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006853/0.01104, allocations: 282.2 kB / 0.8275 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.01207, allocations: 0.7926 MB / 0.8283 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.01309, allocations: 0.6551 MB / 0.8289 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.002737/0.01582, allocations: 3.334 MB / 0.8321 GB, free: 4.676 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/0.0174, allocations: 1.445 MB / 0.8336 GB, free: 3.172 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002242/0.01965, allocations: 1.956 MB / 0.8355 GB, free: 1.215 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001848/0.02149, allocations: 1.738 MB / 0.8372 GB, free: 15.47 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002642/0.02176, allocations: 236 kB / 0.8374 GB, free: 15.24 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000588/0.02235, allocations: 331.8 kB / 0.8377 GB, free: 14.92 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008535/0.0232, allocations: 1.076 MB / 0.8388 GB, free: 13.84 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007602/0.02396, allocations: 0.6473 MB / 0.8394 GB, free: 13.19 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.02579, allocations: 2.002 MB / 0.8413 GB, free: 11.18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.949e-05/0.02581, allocations: 3.938 kB / 0.8413 GB, free: 11.18 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.342e-06/0.02581, allocations: 3.938 kB / 0.8414 GB, free: 11.18 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.22e-05/0.02586, allocations: 0 / 0.8414 GB, free: 11.18 MB / 0.823 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.002793/0.02865, allocations: 2.391 MB / 0.8437 GB, free: 8.75 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.0287, allocations: 8.625 kB / 0.8437 GB, free: 8.742 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003854/0.03255, allocations: 1.27 MB / 0.8449 GB, free: 7.453 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.03387, allocations: 0.9377 MB / 0.8459 GB, free: 6.488 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.364e-05/0.03394, allocations: 123.3 kB / 0.846 GB, free: 6.367 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002322/0.03417, allocations: 144.3 kB / 0.8461 GB, free: 6.227 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/0.03596, allocations: 1.612 MB / 0.8477 GB, free: 4.496 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.03599, allocations: 4.125 kB / 0.8477 GB, free: 4.492 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.03613, allocations: 72.34 kB / 0.8478 GB, free: 4.422 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00017/0.0363, allocations: 211 kB / 0.848 GB, free: 4.215 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.03736, allocations: 0.6902 MB / 0.8486 GB, free: 3.516 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006807/0.04417, allocations: 6.557 MB / 0.855 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007397/0.04491, allocations: 0.5555 MB / 0.8556 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004616/0.04537, allocations: 354.5 kB / 0.8559 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.946e-05/0.04544, allocations: 28.92 kB / 0.8559 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.04546, allocations: 39.56 kB / 0.856 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=104): time 4.178e-06/0.04547, allocations: 0 / 0.856 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=107): time 0.01586/0.06133, allocations: 7.098 MB / 0.8629 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.06136, allocations: 60.41 kB / 0.863 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005912/0.06195, allocations: 0.7569 MB / 0.8637 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.459e-05/0.06203, allocations: 45.7 kB / 0.8638 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/0.06231, allocations: 0.6967 MB / 0.8644 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/0.06253, allocations: 388.5 kB / 0.8648 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002716/0.0628, allocations: 222.7 kB / 0.865 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.88e-05/0.06289, allocations: 361.8 kB / 0.8654 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003115/0.0632, allocations: 213.4 kB / 0.8656 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004445/0.06365, allocations: 493.2 kB / 0.866 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008793/0.06453, allocations: 0.8195 MB / 0.8668 GB, free: 364 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.06453, allocations: 0 / 0.8668 GB, free: 364 kB / 0.8386 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003704/0.06824, allocations: 2.126 MB / 0.8689 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.06826, allocations: 8 kB / 0.8689 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.06827, allocations: 8 kB / 0.8689 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003933/0.07221, allocations: 1.583 MB / 0.8705 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005384/0.07274, allocations: 199.6 kB / 0.8707 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008914/0.08166, allocations: 7.327 MB / 0.8778 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007409/0.0824, allocations: 36 kB / 0.8778 GB, free: 4.855 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-05/0.08246, allocations: 36 kB / 0.8779 GB, free: 4.82 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (97): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,16,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004477/0.08291, allocations: 184.4 kB / 0.8781 GB, free: 4.629 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.08306, allocations: 111.9 kB / 0.8782 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003545/0.08661, allocations: 2.041 MB / 0.8802 GB, free: 2.453 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.08661, allocations: 12 kB / 0.8802 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.08663, allocations: 16 kB / 0.8802 GB, free: 2.426 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.08663, allocations: 7.984 kB / 0.8802 GB, free: 2.418 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00503/0.09166, allocations: 3.139 MB / 0.8833 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.09167, allocations: 4 kB / 0.8833 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.09187, allocations: 79.89 kB / 0.8833 GB, free: 15.13 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003691/0.09224, allocations: 231.2 kB / 0.8836 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003823/0.09607, allocations: 1.569 MB / 0.8851 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.111e-05/0.09614, allocations: 20 kB / 0.8851 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008682/0.1048, allocations: 7.324 MB / 0.8923 GB, free: 5.781 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.1048, allocations: 4 kB / 0.8923 GB, free: 5.777 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003628/0.1085, allocations: 2.076 MB / 0.8943 GB, free: 3.641 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.1087, allocations: 20 kB / 0.8943 GB, free: 3.621 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/0.109, allocations: 24 kB / 0.8943 GB, free: 3.598 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004321/0.1095, allocations: 100.6 kB / 0.8944 GB, free: 3.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.136e-05/0.1095, allocations: 24 kB / 0.8945 GB, free: 3.477 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003186/0.1098, allocations: 360.8 kB / 0.8948 GB, free: 3.109 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1098, allocations: 0 / 0.8948 GB, free: 3.109 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001479/0.1113, allocations: 0.6758 MB / 0.8955 GB, free: 2.434 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,16,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002141/0.1115, allocations: 104.3 kB / 0.8956 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002251/0.1138, allocations: 1.441 MB / 0.897 GB, free: 0.8555 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.646e-05/0.1138, allocations: 27.19 kB / 0.897 GB, free: 0.8281 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001516/0.1153, allocations: 1.068 MB / 0.898 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008959/0.1162, allocations: 311.8 kB / 0.8983 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009522/0.1258, allocations: 3.242 MB / 0.9015 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.1262, allocations: 0.506 MB / 0.902 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000334/0.1265, allocations: 96.91 kB / 0.9021 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/0.1268, allocations: 205.2 kB / 0.9023 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of SimCode: time 1.743e-06/0.1268, allocations: 3.938 kB / 0.9023 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of Templates: time 0.03951/0.1663, allocations: 38.16 MB / 0.9395 GB, free: 5.379 MB / 0.9167 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.715332372114062]