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.001496/0.001496, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001665/0.001665, allocations: 159.1 kB / 22.45 MB, free: 5.375 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.57/1.57, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.1 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.714/2.714, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] 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 1.523e-06/1.523e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.699e-05, allocations: 5.656 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01347/0.01349, allocations: 9.478 MB / 0.9602 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006138/0.01963, allocations: 3.127 MB / 0.9633 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007628/0.0204, allocations: 43.69 kB / 0.9633 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001778/0.02217, allocations: 0.6139 MB / 0.9639 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001692/0.02387, allocations: 0.8004 MB / 0.9647 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.02545, allocations: 0.7516 MB / 0.9655 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003475/0.02893, allocations: 3.05 MB / 0.9684 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00213/0.03106, allocations: 1.412 MB / 0.9698 GB, free: 8.168 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003047/0.0341, allocations: 1.735 MB / 0.9715 GB, free: 6.43 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003161/0.03727, allocations: 1.555 MB / 0.973 GB, free: 4.871 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004535/0.03772, allocations: 239.9 kB / 0.9733 GB, free: 4.637 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.03905, allocations: 495.2 kB / 0.9737 GB, free: 4.152 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001648/0.04069, allocations: 1.15 MB / 0.9748 GB, free: 3 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001588/0.04228, allocations: 0.7836 MB / 0.9756 GB, free: 2.215 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005145/0.04743, allocations: 3.794 MB / 0.9793 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.04743, allocations: 0 / 0.9793 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.723e-06/0.04743, allocations: 0 / 0.9793 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.352e-05/0.04748, allocations: 0 / 0.9793 GB, free: 14.41 MB / 0.8887 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.004183/0.05166, allocations: 2.1 MB / 0.9814 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.05171, allocations: 12.03 kB / 0.9814 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009622/0.06133, allocations: 1.353 MB / 0.9827 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002909/0.06424, allocations: 1.265 MB / 0.9839 GB, free: 9.605 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.06434, allocations: 115.3 kB / 0.984 GB, free: 9.492 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003476/0.06469, allocations: 148.3 kB / 0.9842 GB, free: 9.348 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005914/0.0706, allocations: 3.512 MB / 0.9876 GB, free: 5.719 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/0.07064, allocations: 4.188 kB / 0.9876 GB, free: 5.715 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000253/0.07089, allocations: 68.34 kB / 0.9877 GB, free: 5.648 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002901/0.07118, allocations: 211.1 kB / 0.9879 GB, free: 5.441 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005172/0.07635, allocations: 3.116 MB / 0.9909 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01636/0.09271, allocations: 9.83 MB / 1.001 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/0.09537, allocations: 1.607 MB / 1.002 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002053/0.09743, allocations: 1.331 MB / 1.003 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.465e-05/0.09751, allocations: 13 kB / 1.003 GB, free: 5.344 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.09755, allocations: 43.56 kB / 1.003 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=104): time 2.946e-06/0.09755, allocations: 0 / 1.003 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of matching and sorting (n=183): time 0.163/0.2605, allocations: 36.19 MB / 1.039 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.688e-05/0.2606, allocations: 73.41 kB / 1.039 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.2624, allocations: 1.04 MB / 1.04 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002896/0.2627, allocations: 53.7 kB / 1.04 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007614/0.2635, allocations: 0.8015 MB / 1.041 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.00064/0.2641, allocations: 0.6468 MB / 1.041 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007872/0.2649, allocations: 359.5 kB / 1.042 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.265, allocations: 301.1 kB / 1.042 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002881/0.2679, allocations: 1.932 MB / 1.044 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003184/0.2711, allocations: 2.289 MB / 1.046 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006424/0.2775, allocations: 4.394 MB / 1.05 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.2775, allocations: 3.938 kB / 1.05 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02256/0.3001, allocations: 8.87 MB / 1.059 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.3001, allocations: 8 kB / 1.059 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/0.3001, allocations: 12 kB / 1.059 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01893/0.3191, allocations: 4.974 MB / 1.064 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009402/0.32, allocations: 195.6 kB / 1.064 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06303/0.383, allocations: 37.8 MB / 1.101 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/0.3853, allocations: 103.9 kB / 1.101 GB, free: 460 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002817/0.3856, allocations: 64 kB / 1.101 GB, free: 396 kB / 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.5037/0.8893, allocations: 0.8078 MB / 1.102 GB, free: 147.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004854/0.8898, allocations: 141 kB / 1.102 GB, free: 147.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02329/0.9131, allocations: 8.735 MB / 1.111 GB, free: 146.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.986e-05/0.9131, allocations: 17.38 kB / 1.111 GB, free: 146.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001675/0.9133, allocations: 33.47 kB / 1.111 GB, free: 146.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.663e-05/0.9133, allocations: 10.38 kB / 1.111 GB, free: 146.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02937/0.9427, allocations: 12.39 MB / 1.123 GB, free: 142.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.793e-05/0.9427, allocations: 3.188 kB / 1.123 GB, free: 142.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005812/0.9433, allocations: 120.9 kB / 1.123 GB, free: 142.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0178/0.9611, allocations: 4.829 MB / 1.128 GB, free: 141.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003792/0.9615, allocations: 34 kB / 1.128 GB, free: 141.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0499/1.011, allocations: 35.77 MB / 1.163 GB, free: 122.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.011, allocations: 3.938 kB / 1.163 GB, free: 122.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01783/1.029, allocations: 8.442 MB / 1.171 GB, free: 115.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/1.031, allocations: 0.5692 MB / 1.171 GB, free: 115.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003149/1.031, allocations: 43.92 kB / 1.171 GB, free: 115.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/1.033, allocations: 87.89 kB / 1.172 GB, free: 115.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009264/1.033, allocations: 177.3 kB / 1.172 GB, free: 114.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/1.034, allocations: 48 kB / 1.172 GB, free: 114.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007684/1.034, allocations: 0.718 MB / 1.172 GB, free: 114.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.034, allocations: 0 / 1.172 GB, free: 114.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002664/1.037, allocations: 1.008 MB / 1.173 GB, free: 113.1 MB / 0.9981 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.0002963/1.037, allocations: 143.1 kB / 1.174 GB, free: 113 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008149/1.045, allocations: 5.733 MB / 1.179 GB, free: 107.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.045, allocations: 4 kB / 1.179 GB, free: 107.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007104/1.053, allocations: 3.766 MB / 1.183 GB, free: 103.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/1.054, allocations: 238 kB / 1.183 GB, free: 103.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006717/1.061, allocations: 5.16 MB / 1.188 GB, free: 98.02 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/1.062, allocations: 1.267 MB / 1.189 GB, free: 96.71 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007124/1.063, allocations: 347.1 kB / 1.19 GB, free: 96.37 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/1.063, allocations: 68.48 kB / 1.19 GB, free: 96.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.132e-06/1.063, allocations: 0 / 1.19 GB, free: 96.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.06554/1.128, allocations: 63.93 MB / 1.252 GB, free: 32.32 MB / 0.9981 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 400] 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.92937495559454]