Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007364/0.007364, allocations: 102.7 kB / 15.73 MB, free: 6.445 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.001727/0.001727, allocations: 195.9 kB / 16.68 MB, free: 6.355 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.673/2.673, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.89 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3162, allocations: 157.4 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04272/0.359, allocations: 41.19 MB / 1.248 GB, free: 292 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6989/1.058, allocations: 15.06 MB / 1.263 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005109/1.063, allocations: 190.1 kB / 1.263 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01154/1.075, allocations: 4.464 MB / 1.267 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009215/1.084, allocations: 2.79 MB / 1.27 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009469/1.093, allocations: 3.162 MB / 1.273 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01711/1.111, allocations: 11.41 MB / 1.284 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02167/1.132, allocations: 12.46 MB / 1.296 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01096/1.143, allocations: 4.907 MB / 1.301 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01244/1.156, allocations: 5.391 MB / 1.306 GB, free: 13.62 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.004179/1.16, allocations: 0.9484 MB / 1.307 GB, free: 13.62 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008678/1.169, allocations: 2.037 MB / 1.309 GB, free: 13.36 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.007973/1.177, allocations: 3.688 MB / 1.313 GB, free: 11.88 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.01319/1.19, allocations: 4.304 MB / 1.317 GB, free: 9.18 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.03319/1.223, allocations: 14.28 MB / 1.331 GB, free: 1.078 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/1.223, allocations: 1.062 kB / 1.331 GB, free: 1.078 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.723e-06/1.223, allocations: 0 / 1.331 GB, free: 1.078 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0005481/1.224, allocations: 0 / 1.331 GB, free: 1.078 MB / 1.014 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.03053/1.254, allocations: 7.618 MB / 1.339 GB, free: 12.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/1.254, allocations: 11 kB / 1.339 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0127/1.267, allocations: 1.51 MB / 1.34 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01398/1.281, allocations: 4.444 MB / 1.344 GB, free: 8.676 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004996/1.282, allocations: 462.4 kB / 1.345 GB, free: 8.477 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003466/1.285, allocations: 0.5932 MB / 1.345 GB, free: 8.289 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02684/1.312, allocations: 10.68 MB / 1.356 GB, free: 15.15 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000191/1.312, allocations: 31.72 kB / 1.356 GB, free: 15.12 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001139/1.313, allocations: 268.5 kB / 1.356 GB, free: 14.87 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002953/1.316, allocations: 0.769 MB / 1.357 GB, free: 14.1 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01847/1.335, allocations: 8.561 MB / 1.365 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07499/1.41, allocations: 46.53 MB / 1.411 GB, free: 3.473 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006356/1.416, allocations: 4.312 MB / 1.415 GB, free: 15.15 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005686/1.422, allocations: 3.722 MB / 1.418 GB, free: 11.43 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003554/1.422, allocations: 34.78 kB / 1.419 GB, free: 11.39 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.211e-05/1.422, allocations: 73.34 kB / 1.419 GB, free: 11.31 MB / 1.107 GB Notification: Performance of pre-optimization done (n=353): time 4.779e-06/1.422, allocations: 0 / 1.419 GB, free: 11.31 MB / 1.107 GB Notification: Performance of matching and sorting (n=578): time 0.5445/1.967, allocations: 122.8 MB / 1.538 GB, free: 15.77 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.558e-05/1.967, allocations: 111.9 kB / 1.539 GB, free: 15.64 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004834/1.972, allocations: 2.685 MB / 1.541 GB, free: 12.96 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.001246/1.973, allocations: 121.7 kB / 1.541 GB, free: 12.84 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.002041/1.975, allocations: 2.674 MB / 1.544 GB, free: 10.14 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.002777/1.978, allocations: 1.957 MB / 1.546 GB, free: 8.199 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003385/1.981, allocations: 0.9248 MB / 1.547 GB, free: 7.266 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000103/1.981, allocations: 305.1 kB / 1.547 GB, free: 6.965 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006449/1.988, allocations: 4.079 MB / 1.551 GB, free: 2.879 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007071/1.995, allocations: 5.016 MB / 1.556 GB, free: 13.54 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0146/2.01, allocations: 9.849 MB / 1.566 GB, free: 3.316 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-05/2.01, allocations: 11.94 kB / 1.566 GB, free: 3.305 MB / 1.248 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04069/2.05, allocations: 17 MB / 1.582 GB, free: 2.18 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 4.939e-05/2.05, allocations: 12 kB / 1.582 GB, free: 2.168 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.335e-05/2.051, allocations: 24 kB / 1.582 GB, free: 2.145 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03343/2.084, allocations: 9.079 MB / 1.591 GB, free: 9.02 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/2.087, allocations: 0.5265 MB / 1.592 GB, free: 8.492 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1155/2.202, allocations: 76.95 MB / 1.667 GB, free: 9.996 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005839/2.208, allocations: 283.8 kB / 1.667 GB, free: 9.719 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/2.209, allocations: 192 kB / 1.667 GB, free: 9.531 MB / 1.357 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.005786/2.215, allocations: 2.429 MB / 1.67 GB, free: 7.09 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001531/2.217, allocations: 470.5 kB / 1.67 GB, free: 6.625 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04179/2.258, allocations: 16.81 MB / 1.686 GB, free: 5.668 MB / 1.373 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.882e-05/2.259, allocations: 56 kB / 1.686 GB, free: 5.613 MB / 1.373 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000213/2.259, allocations: 72 kB / 1.687 GB, free: 5.543 MB / 1.373 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001017/2.259, allocations: 27.89 kB / 1.687 GB, free: 5.516 MB / 1.373 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0616/2.321, allocations: 25.66 MB / 1.712 GB, free: 11.63 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.989e-05/2.321, allocations: 12.11 kB / 1.712 GB, free: 11.62 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002005/2.323, allocations: 323.5 kB / 1.712 GB, free: 11.3 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03161/2.354, allocations: 8.269 MB / 1.72 GB, free: 2.988 MB / 1.404 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001186/2.355, allocations: 104 kB / 1.72 GB, free: 2.887 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1147/2.47, allocations: 73.83 MB / 1.792 GB, free: 7.52 MB / 1.482 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/2.47, allocations: 11.94 kB / 1.792 GB, free: 7.508 MB / 1.482 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05091/2.521, allocations: 21.57 MB / 1.813 GB, free: 1.566 MB / 1.498 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005013/2.526, allocations: 1.358 MB / 1.815 GB, free: 188 kB / 1.498 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002246/2.529, allocations: 112 kB / 1.815 GB, free: 76 kB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.6795/3.208, allocations: 280.3 kB / 1.815 GB, free: 495.3 MB / 1.498 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002519/3.211, allocations: 0.5251 MB / 1.816 GB, free: 495.3 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007064/3.211, allocations: 141.8 kB / 1.816 GB, free: 495.3 MB / 1.498 GB Notification: Performance of sorting global known variables: time 0.002964/3.214, allocations: 1.78 MB / 1.817 GB, free: 495.1 MB / 1.498 GB Notification: Performance of sort global known variables: time 2.01e-07/3.214, allocations: 0.9375 kB / 1.817 GB, free: 495.1 MB / 1.498 GB Notification: Performance of remove unused functions: time 0.008394/3.223, allocations: 2.462 MB / 1.82 GB, free: 495.1 MB / 1.498 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.0008109/3.224, allocations: 240.7 kB / 1.82 GB, free: 495 MB / 1.498 GB Notification: Performance of simCode: created initialization part: time 0.02853/3.252, allocations: 14.53 MB / 1.834 GB, free: 493.2 MB / 1.498 GB Notification: Performance of simCode: created event and clocks part: time 1.608e-05/3.252, allocations: 2.312 kB / 1.834 GB, free: 493.2 MB / 1.498 GB Notification: Performance of simCode: created simulation system equations: time 0.01911/3.271, allocations: 9.353 MB / 1.843 GB, free: 491.4 MB / 1.498 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008096/3.279, allocations: 1.372 MB / 1.845 GB, free: 491.3 MB / 1.498 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03268/3.312, allocations: 15.57 MB / 1.86 GB, free: 487.3 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01074/3.323, allocations: 4.894 MB / 1.865 GB, free: 486.4 MB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.003718/3.327, allocations: 0.743 MB / 1.865 GB, free: 486.2 MB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008469/3.327, allocations: 200.6 kB / 1.866 GB, free: 486.2 MB / 1.498 GB Notification: Performance of SimCode: time 8.41e-07/3.327, allocations: 0 / 1.866 GB, free: 486.2 MB / 1.498 GB Notification: Performance of Templates: time 0.1955/3.523, allocations: 150.1 MB / 2.012 GB, free: 375.9 MB / 1.498 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches