Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002065/0.002065, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.806/2.806, allocations: 443.5 MB / 0.732 GB, free: 12.54 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 67.89 kB / 1.061 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8394/0.8414, allocations: 160.7 MB / 1.218 GB, free: 4.051 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.02027/0.8616, allocations: 10.5 MB / 1.228 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009833/0.8715, allocations: 3.251 MB / 1.232 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.8733, allocations: 37.16 kB / 1.232 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002742/0.876, allocations: 0.6161 MB / 1.232 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003606/0.8796, allocations: 0.7859 MB / 1.233 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003562/0.8832, allocations: 0.7562 MB / 1.234 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006187/0.8894, allocations: 2.996 MB / 1.237 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003283/0.8927, allocations: 1.305 MB / 1.238 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003447/0.8961, allocations: 1.258 MB / 1.239 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004406/0.9005, allocations: 1.706 MB / 1.241 GB, free: 240 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0006993/0.9012, allocations: 236 kB / 1.241 GB, free: 4 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001885/0.9031, allocations: 0.5111 MB / 1.242 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001879/0.905, allocations: 1.099 MB / 1.243 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002476/0.9075, allocations: 1.109 MB / 1.244 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006679/0.9141, allocations: 3.694 MB / 1.247 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.9142, allocations: 8 kB / 1.247 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.314e-06/0.9142, allocations: 4 kB / 1.247 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.462e-05/0.9143, allocations: 0 / 1.247 GB, free: 9.562 MB / 0.9512 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.007358/0.9216, allocations: 2.187 MB / 1.25 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 7.21e-05/0.9217, allocations: 12.62 kB / 1.25 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01593/0.9376, allocations: 1.318 MB / 1.251 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004825/0.9424, allocations: 1.314 MB / 1.252 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/0.9426, allocations: 111.4 kB / 1.252 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000942/0.9436, allocations: 148.3 kB / 1.252 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/0.9537, allocations: 3.448 MB / 1.256 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.536e-05/0.9538, allocations: 4 kB / 1.256 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003681/0.9541, allocations: 59.97 kB / 1.256 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004528/0.9546, allocations: 211.1 kB / 1.256 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009772/0.9643, allocations: 3.124 MB / 1.259 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03305/0.9974, allocations: 13.57 MB / 1.272 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004393/1.002, allocations: 1.614 MB / 1.274 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00343/1.005, allocations: 1.331 MB / 1.275 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/1.005, allocations: 13 kB / 1.275 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.23e-05/1.005, allocations: 47.56 kB / 1.275 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=104): time 4.709e-06/1.005, allocations: 0 / 1.275 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of matching and sorting (n=183): time 0.1637/1.169, allocations: 36.56 MB / 1.311 GB, free: 7.258 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/1.169, allocations: 73.41 kB / 1.311 GB, free: 7.172 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00251/1.172, allocations: 1.054 MB / 1.312 GB, free: 6.094 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0005583/1.172, allocations: 53.7 kB / 1.312 GB, free: 6.035 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008045/1.173, allocations: 0.8093 MB / 1.313 GB, free: 5.215 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001063/1.174, allocations: 0.6584 MB / 1.314 GB, free: 4.551 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001094/1.175, allocations: 363.5 kB / 1.314 GB, free: 4.191 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.175, allocations: 301.1 kB / 1.314 GB, free: 3.895 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003125/1.179, allocations: 1.932 MB / 1.316 GB, free: 1.961 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003539/1.182, allocations: 2.285 MB / 1.318 GB, free: 15.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00698/1.189, allocations: 4.394 MB / 1.323 GB, free: 11.03 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/1.189, allocations: 4 kB / 1.323 GB, free: 11.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02353/1.213, allocations: 8.876 MB / 1.331 GB, free: 2.125 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/1.213, allocations: 15.94 kB / 1.331 GB, free: 2.109 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/1.213, allocations: 8 kB / 1.331 GB, free: 2.102 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01883/1.231, allocations: 4.967 MB / 1.336 GB, free: 13.12 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00099/1.232, allocations: 195.6 kB / 1.336 GB, free: 12.93 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06922/1.302, allocations: 38.93 MB / 1.374 GB, free: 5.422 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/1.304, allocations: 103.9 kB / 1.374 GB, free: 5.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004618/1.304, allocations: 64 kB / 1.374 GB, free: 5.258 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.001957/1.306, allocations: 0.8098 MB / 1.375 GB, free: 4.441 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005631/1.307, allocations: 143.1 kB / 1.375 GB, free: 4.301 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02261/1.33, allocations: 8.745 MB / 1.384 GB, free: 11.52 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.834e-05/1.33, allocations: 20 kB / 1.384 GB, free: 11.5 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001091/1.33, allocations: 28 kB / 1.384 GB, free: 11.47 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.798e-05/1.33, allocations: 11.95 kB / 1.384 GB, free: 11.46 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03168/1.361, allocations: 13.26 MB / 1.397 GB, free: 14.04 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.669e-05/1.361, allocations: 4 kB / 1.397 GB, free: 14.04 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006082/1.362, allocations: 120.3 kB / 1.397 GB, free: 13.92 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01838/1.38, allocations: 4.846 MB / 1.402 GB, free: 9.062 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004311/1.381, allocations: 32 kB / 1.402 GB, free: 9.031 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0656/1.446, allocations: 36.85 MB / 1.438 GB, free: 3.598 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/1.446, allocations: 11.88 kB / 1.438 GB, free: 3.586 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02138/1.468, allocations: 8.456 MB / 1.446 GB, free: 11.04 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002027/1.47, allocations: 0.6406 MB / 1.447 GB, free: 10.38 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003833/1.47, allocations: 43.83 kB / 1.447 GB, free: 10.34 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/1.472, allocations: 95.88 kB / 1.447 GB, free: 10.25 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007791/1.472, allocations: 165.6 kB / 1.447 GB, free: 10.09 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001534/1.473, allocations: 48 kB / 1.447 GB, free: 10.04 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001063/1.474, allocations: 0.7343 MB / 1.448 GB, free: 9.293 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/1.474, allocations: 3.938 kB / 1.448 GB, free: 9.289 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.003162/1.477, allocations: 1.008 MB / 1.449 GB, free: 8.281 MB / 1.154 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.0003415/1.477, allocations: 139.1 kB / 1.449 GB, free: 8.137 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01058/1.488, allocations: 5.736 MB / 1.454 GB, free: 2.344 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.488, allocations: 4 kB / 1.454 GB, free: 2.34 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.008689/1.496, allocations: 3.772 MB / 1.458 GB, free: 14.52 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/1.498, allocations: 230.2 kB / 1.458 GB, free: 14.3 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/1.508, allocations: 5.211 MB / 1.463 GB, free: 9.031 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00204/1.51, allocations: 1.851 MB / 1.465 GB, free: 7.145 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.000964/1.511, allocations: 359.4 kB / 1.466 GB, free: 6.789 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/1.512, allocations: 63.42 kB / 1.466 GB, free: 6.727 MB / 1.17 GB Notification: Performance of SimCode: time 1.062e-06/1.512, allocations: 3.938 kB / 1.466 GB, free: 6.723 MB / 1.17 GB Notification: Performance of Templates: time 0.1014/1.613, allocations: 62.76 MB / 1.527 GB, free: 8.066 MB / 1.232 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.465084868948907]