Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ACLine_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 105.9 kB / 16.41 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 186.5 kB / 17.34 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.221/2.221, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 67.89 kB / 0.9516 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9561/0.9577, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05215/1.01, allocations: 41.18 MB / 1.129 GB, free: 9.5 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03413/1.044, allocations: 15.08 MB / 1.144 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007318/1.051, allocations: 195.8 kB / 1.144 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.01429/1.066, allocations: 4.461 MB / 1.148 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01147/1.077, allocations: 2.789 MB / 1.151 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.01164/1.089, allocations: 3.155 MB / 1.154 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.02136/1.11, allocations: 11.4 MB / 1.165 GB, free: 3.605 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02752/1.138, allocations: 12.48 MB / 1.177 GB, free: 13.66 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01289/1.151, allocations: 4.905 MB / 1.182 GB, free: 10.83 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01226/1.163, allocations: 5.388 MB / 1.187 GB, free: 7.543 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.004973/1.168, allocations: 0.9508 MB / 1.188 GB, free: 7.543 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009774/1.178, allocations: 2.045 MB / 1.19 GB, free: 5.91 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.008721/1.187, allocations: 3.688 MB / 1.194 GB, free: 2.215 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01378/1.201, allocations: 4.299 MB / 1.198 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.02506/1.226, allocations: 14.27 MB / 1.212 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/1.226, allocations: 4 kB / 1.212 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.348e-06/1.226, allocations: 3.984 kB / 1.212 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0005435/1.226, allocations: 0 / 1.212 GB, free: 15.57 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02658/1.253, allocations: 7.6 MB / 1.219 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.603e-05/1.253, allocations: 8.031 kB / 1.219 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01222/1.265, allocations: 1.53 MB / 1.221 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01254/1.278, allocations: 4.435 MB / 1.225 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005881/1.279, allocations: 460.4 kB / 1.226 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003252/1.282, allocations: 0.5939 MB / 1.226 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03088/1.313, allocations: 10.69 MB / 1.237 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004407/1.313, allocations: 27.77 kB / 1.237 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002932/1.316, allocations: 263.9 kB / 1.237 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00303/1.319, allocations: 0.7729 MB / 1.238 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02231/1.342, allocations: 8.557 MB / 1.246 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07545/1.417, allocations: 46.54 MB / 1.292 GB, free: 9.766 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00683/1.424, allocations: 4.311 MB / 1.296 GB, free: 5.445 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006384/1.43, allocations: 3.705 MB / 1.299 GB, free: 1.727 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004471/1.431, allocations: 38.78 kB / 1.299 GB, free: 1.688 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.352e-05/1.431, allocations: 77.33 kB / 1.299 GB, free: 1.602 MB / 1.029 GB Notification: Performance of pre-optimization done (n=353): time 9.318e-06/1.431, allocations: 3.938 kB / 1.299 GB, free: 1.598 MB / 1.029 GB Notification: Performance of matching and sorting (n=578): time 0.491/1.922, allocations: 122.8 MB / 1.419 GB, free: 5.961 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/1.922, allocations: 111.9 kB / 1.419 GB, free: 5.836 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004722/1.927, allocations: 2.685 MB / 1.422 GB, free: 3.152 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.001185/1.928, allocations: 125.7 kB / 1.422 GB, free: 3.023 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.002017/1.93, allocations: 2.675 MB / 1.425 GB, free: 324 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.002746/1.933, allocations: 1.952 MB / 1.427 GB, free: 14.33 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003149/1.936, allocations: 0.9248 MB / 1.428 GB, free: 13.4 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.936, allocations: 305.1 kB / 1.428 GB, free: 13.1 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006686/1.943, allocations: 4.079 MB / 1.432 GB, free: 9.012 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007916/1.951, allocations: 5.015 MB / 1.437 GB, free: 3.676 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01621/1.967, allocations: 9.844 MB / 1.446 GB, free: 9.453 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-05/1.967, allocations: 8 kB / 1.446 GB, free: 9.445 MB / 1.186 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04414/2.011, allocations: 17 MB / 1.463 GB, free: 8.312 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 7.08e-05/2.011, allocations: 16 kB / 1.463 GB, free: 8.297 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.906e-05/2.011, allocations: 20 kB / 1.463 GB, free: 8.277 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.032/2.044, allocations: 9.088 MB / 1.472 GB, free: 15.15 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002485/2.046, allocations: 0.5226 MB / 1.472 GB, free: 14.63 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1177/2.164, allocations: 76.96 MB / 1.548 GB, free: 72 kB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004941/2.169, allocations: 279.8 kB / 1.548 GB, free: 15.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001227/2.17, allocations: 188 kB / 1.548 GB, free: 15.61 MB / 1.295 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.005548/2.176, allocations: 2.427 MB / 1.55 GB, free: 13.18 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001761/2.177, allocations: 470.5 kB / 1.551 GB, free: 12.71 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04177/2.219, allocations: 16.82 MB / 1.567 GB, free: 11.74 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.006e-05/2.219, allocations: 52 kB / 1.567 GB, free: 11.69 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000225/2.219, allocations: 72 kB / 1.567 GB, free: 11.62 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001197/2.22, allocations: 27.89 kB / 1.567 GB, free: 11.59 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6794/2.899, allocations: 25.66 MB / 1.592 GB, free: 414 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-05/2.899, allocations: 10.16 kB / 1.593 GB, free: 414 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001925/2.901, allocations: 319.9 kB / 1.593 GB, free: 413.9 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03088/2.932, allocations: 8.272 MB / 1.601 GB, free: 413.5 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001085/2.933, allocations: 107.8 kB / 1.601 GB, free: 413.4 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1117/3.045, allocations: 73.82 MB / 1.673 GB, free: 371.7 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/3.045, allocations: 15.36 kB / 1.673 GB, free: 371.7 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04095/3.086, allocations: 21.58 MB / 1.694 GB, free: 362.7 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003114/3.089, allocations: 1.357 MB / 1.695 GB, free: 361.9 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001348/3.09, allocations: 106 kB / 1.696 GB, free: 361.8 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003354/3.094, allocations: 292.5 kB / 1.696 GB, free: 361.7 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001873/3.096, allocations: 0.5219 MB / 1.696 GB, free: 361.6 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000418/3.096, allocations: 142.7 kB / 1.697 GB, free: 361.6 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.002098/3.098, allocations: 1.782 MB / 1.698 GB, free: 360.8 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.51e-07/3.098, allocations: 3.562 kB / 1.698 GB, free: 360.8 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.007167/3.105, allocations: 2.469 MB / 1.701 GB, free: 358.3 MB / 1.311 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.0007585/3.106, allocations: 233.8 kB / 1.701 GB, free: 358.1 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.02089/3.127, allocations: 14.52 MB / 1.715 GB, free: 344.2 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/3.127, allocations: 4 kB / 1.715 GB, free: 344.2 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.01585/3.143, allocations: 9.371 MB / 1.724 GB, free: 334.7 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007005/3.15, allocations: 1.374 MB / 1.726 GB, free: 333.3 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02808/3.178, allocations: 16.49 MB / 1.742 GB, free: 316.8 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007036/3.185, allocations: 4.995 MB / 1.747 GB, free: 311.7 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/3.186, allocations: 215.4 kB / 1.747 GB, free: 311.5 MB / 1.311 GB Notification: Performance of SimCode: time 5.81e-07/3.186, allocations: 0 / 1.747 GB, free: 311.5 MB / 1.311 GB Notification: Performance of Templates: time 0.9488/4.135, allocations: 475 MB / 2.211 GB, free: 381.7 MB / 1.357 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches