Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001571/0.001571, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.001701/0.001701, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.477/1.477, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.7/2.7, allocations: 476.7 MB / 0.7629 GB, free: 15.08 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 67.88 kB / 1.107 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8145/0.8166, allocations: 168.7 MB / 1.272 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04826/0.8648, allocations: 43.03 MB / 1.314 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02913/0.894, allocations: 15.72 MB / 1.329 GB, free: 0.6133 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005262/0.8992, allocations: 188 kB / 1.329 GB, free: 0.5547 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01326/0.9125, allocations: 4.64 MB / 1.334 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.009694/0.9222, allocations: 2.936 MB / 1.336 GB, free: 12.02 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.009666/0.9318, allocations: 3.224 MB / 1.34 GB, free: 10.22 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01696/0.9488, allocations: 11.4 MB / 1.351 GB, free: 5.109 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01411/0.9629, allocations: 6.437 MB / 1.357 GB, free: 1.219 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008894/0.9718, allocations: 4.901 MB / 1.362 GB, free: 14.39 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0107/0.9825, allocations: 5.76 MB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.002949/0.9855, allocations: 0.9483 MB / 1.368 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006566/0.992, allocations: 2.075 MB / 1.37 GB, free: 10.21 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.007071/0.9991, allocations: 3.786 MB / 1.374 GB, free: 7.711 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.01124/1.01, allocations: 4.296 MB / 1.378 GB, free: 4.711 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.02211/1.032, allocations: 14.32 MB / 1.392 GB, free: 9.191 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.032, allocations: 0 / 1.392 GB, free: 9.191 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.783e-06/1.032, allocations: 0 / 1.392 GB, free: 9.191 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0004114/1.033, allocations: 0 / 1.392 GB, free: 9.191 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02283/1.056, allocations: 7.798 MB / 1.4 GB, free: 1.301 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/1.056, allocations: 12.03 kB / 1.4 GB, free: 1.289 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00265/1.058, allocations: 0.8955 MB / 1.401 GB, free: 392 kB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/1.069, allocations: 1.553 MB / 1.402 GB, free: 14.82 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009466/1.079, allocations: 4.47 MB / 1.407 GB, free: 10.28 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000435/1.079, allocations: 456.5 kB / 1.407 GB, free: 9.832 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002169/1.081, allocations: 0.5979 MB / 1.408 GB, free: 9.234 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02172/1.103, allocations: 10.69 MB / 1.418 GB, free: 14.17 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001633/1.103, allocations: 23.78 kB / 1.418 GB, free: 14.15 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008079/1.104, allocations: 271.9 kB / 1.418 GB, free: 13.88 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002961/1.107, allocations: 0.7768 MB / 1.419 GB, free: 13.1 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01743/1.124, allocations: 8.561 MB / 1.428 GB, free: 4.52 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0628/1.187, allocations: 46.6 MB / 1.473 GB, free: 2.16 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006344/1.194, allocations: 3.979 MB / 1.477 GB, free: 14.17 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005532/1.199, allocations: 3.372 MB / 1.48 GB, free: 10.79 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002846/1.199, allocations: 42.78 kB / 1.48 GB, free: 10.75 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.273e-05/1.199, allocations: 81.27 kB / 1.48 GB, free: 10.66 MB / 1.17 GB Notification: Performance of pre-optimization done (n=353): time 5.771e-06/1.199, allocations: 0 / 1.48 GB, free: 10.66 MB / 1.17 GB Notification: Performance of matching and sorting (n=578): time 0.5513/1.751, allocations: 122.6 MB / 1.6 GB, free: 15.2 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/1.751, allocations: 119.9 kB / 1.6 GB, free: 15.07 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004138/1.755, allocations: 2.677 MB / 1.603 GB, free: 12.39 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.000921/1.756, allocations: 125.7 kB / 1.603 GB, free: 12.27 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002181/1.758, allocations: 2.757 MB / 1.606 GB, free: 9.484 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.002536/1.761, allocations: 2.049 MB / 1.608 GB, free: 7.418 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001956/1.763, allocations: 0.9251 MB / 1.609 GB, free: 6.484 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.763, allocations: 301.1 kB / 1.609 GB, free: 6.188 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006494/1.769, allocations: 4.079 MB / 1.613 GB, free: 2.102 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007257/1.776, allocations: 5.023 MB / 1.618 GB, free: 12.75 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01551/1.792, allocations: 9.844 MB / 1.627 GB, free: 2.531 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.931e-05/1.792, allocations: 8 kB / 1.627 GB, free: 2.523 MB / 1.311 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04159/1.834, allocations: 16.74 MB / 1.644 GB, free: 1.648 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/1.834, allocations: 12 kB / 1.644 GB, free: 1.637 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-05/1.834, allocations: 28.09 kB / 1.644 GB, free: 1.609 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03374/1.867, allocations: 9.08 MB / 1.653 GB, free: 8.484 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002562/1.87, allocations: 0.5265 MB / 1.653 GB, free: 7.957 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1244/1.994, allocations: 77.02 MB / 1.728 GB, free: 9.348 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005456/2, allocations: 291.8 kB / 1.729 GB, free: 9.062 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001136/2.001, allocations: 188 kB / 1.729 GB, free: 8.879 MB / 1.42 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005436/2.006, allocations: 2.43 MB / 1.731 GB, free: 6.441 MB / 1.42 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001435/2.008, allocations: 493 kB / 1.732 GB, free: 5.957 MB / 1.42 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04273/2.051, allocations: 16.54 MB / 1.748 GB, free: 5.27 MB / 1.436 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.743e-05/2.051, allocations: 59.94 kB / 1.748 GB, free: 5.211 MB / 1.436 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001848/2.051, allocations: 75.94 kB / 1.748 GB, free: 5.137 MB / 1.436 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001046/2.051, allocations: 27.89 kB / 1.748 GB, free: 5.109 MB / 1.436 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05802/2.109, allocations: 25.38 MB / 1.773 GB, free: 11.42 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-05/2.109, allocations: 4 kB / 1.773 GB, free: 11.42 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00197/2.111, allocations: 327.4 kB / 1.773 GB, free: 11.1 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03121/2.142, allocations: 8.264 MB / 1.781 GB, free: 2.789 MB / 1.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001031/2.143, allocations: 108 kB / 1.781 GB, free: 2.684 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6542/2.797, allocations: 73.9 MB / 1.853 GB, free: 489.4 MB / 1.529 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.989e-06/2.797, allocations: 9.344 kB / 1.853 GB, free: 489.4 MB / 1.529 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04257/2.84, allocations: 21.32 MB / 1.874 GB, free: 486.1 MB / 1.529 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003139/2.843, allocations: 1.38 MB / 1.876 GB, free: 485.5 MB / 1.529 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008815/2.844, allocations: 109.8 kB / 1.876 GB, free: 485.4 MB / 1.529 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003443/2.848, allocations: 284.8 kB / 1.876 GB, free: 485.4 MB / 1.529 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001828/2.849, allocations: 0.5239 MB / 1.876 GB, free: 485.3 MB / 1.529 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004068/2.85, allocations: 146 kB / 1.877 GB, free: 485.2 MB / 1.529 GB Notification: Performance of sorting global known variables: time 0.002428/2.852, allocations: 1.78 MB / 1.878 GB, free: 484.6 MB / 1.529 GB Notification: Performance of sort global known variables: time 7e-08/2.852, allocations: 0 / 1.878 GB, free: 484.6 MB / 1.529 GB Notification: Performance of remove unused functions: time 0.008059/2.86, allocations: 2.463 MB / 1.881 GB, free: 484.3 MB / 1.529 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.04252/2.903, allocations: 22.01 MB / 1.902 GB, free: 475 MB / 1.529 GB Notification: Performance of simCode: created initialization part: time 0.02577/2.929, allocations: 13.74 MB / 1.916 GB, free: 468.7 MB / 1.529 GB Notification: Performance of simCode: created event and clocks part: time 1.785e-05/2.929, allocations: 2.219 kB / 1.916 GB, free: 468.7 MB / 1.529 GB Notification: Performance of simCode: created simulation system equations: time 0.0163/2.945, allocations: 9.02 MB / 1.924 GB, free: 464.2 MB / 1.529 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005631/2.95, allocations: 1.375 MB / 1.926 GB, free: 463.8 MB / 1.529 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1132/3.064, allocations: 70.01 MB / 1.994 GB, free: 413.9 MB / 1.529 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004857/3.069, allocations: 4.893 MB / 1.999 GB, free: 409 MB / 1.529 GB Notification: Performance of simCode: alias equations: time 0.002219/3.071, allocations: 0.7449 MB / 2 GB, free: 408.3 MB / 1.529 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002243/3.073, allocations: 2.612 MB / 2.002 GB, free: 405.6 MB / 1.529 GB Notification: Performance of SimCode: time 1.162e-06/3.073, allocations: 0 / 2.002 GB, free: 405.6 MB / 1.529 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2576/3.331, allocations: 200 MB / 2.198 GB, free: 207.2 MB / 1.529 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.27/24.6, allocations: 7.797 kB / 2.198 GB, free: 207.2 MB / 1.529 GB " [Timeout remaining time 275] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 30.89974456001073]