Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 88.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.00122, allocations: 183.2 kB / 16.92 MB, free: 6.652 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: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.608/2.608, allocations: 437.8 MB / 0.7128 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003255/0.0003255, allocations: 11.98 kB / 0.8735 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6623/0.6626, allocations: 153.8 MB / 1.024 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007143/0.6698, allocations: 5.735 MB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005161/0.675, allocations: 3.149 MB / 1.032 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006607/0.6757, allocations: 23.81 kB / 1.032 GB, free: 7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004983/0.6762, allocations: 126.9 kB / 1.033 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001358/0.6776, allocations: 450 kB / 1.033 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.6789, allocations: 455.1 kB / 1.033 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001721/0.6807, allocations: 1.466 MB / 1.035 GB, free: 4.516 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001863/0.6825, allocations: 1.004 MB / 1.036 GB, free: 3.488 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006359/0.6832, allocations: 358.3 kB / 1.036 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005415/0.6837, allocations: 446.2 kB / 1.037 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.258e-05/0.6838, allocations: 28 kB / 1.037 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009889/0.6848, allocations: 0.5769 MB / 1.037 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000253/0.6851, allocations: 251.2 kB / 1.037 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003484/0.6854, allocations: 383.7 kB / 1.038 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009855/0.6864, allocations: 0.902 MB / 1.039 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6864, allocations: 4 kB / 1.039 GB, free: 0.5586 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6865, allocations: 0 / 1.039 GB, free: 0.5586 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.6865, allocations: 0 / 1.039 GB, free: 0.5586 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001375/0.6878, allocations: 0.9077 MB / 1.04 GB, free: 15.6 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.6879, allocations: 8.031 kB / 1.04 GB, free: 15.59 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/0.6894, allocations: 231.6 kB / 1.04 GB, free: 15.37 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007953/0.6902, allocations: 0.5376 MB / 1.04 GB, free: 14.79 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.6902, allocations: 45.67 kB / 1.04 GB, free: 14.74 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.6904, allocations: 68.27 kB / 1.04 GB, free: 14.68 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.6918, allocations: 1.026 MB / 1.041 GB, free: 13.55 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.428e-05/0.6919, allocations: 15.92 kB / 1.041 GB, free: 13.53 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.716e-05/0.6919, allocations: 31.98 kB / 1.041 GB, free: 13.5 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.106e-05/0.692, allocations: 61.28 kB / 1.042 GB, free: 13.44 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.6931, allocations: 0.6918 MB / 1.042 GB, free: 12.74 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005319/0.6984, allocations: 5.764 MB / 1.048 GB, free: 6.551 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008024/0.6992, allocations: 0.5976 MB / 1.048 GB, free: 5.91 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008145/0.7, allocations: 423.6 kB / 1.049 GB, free: 5.496 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/0.7001, allocations: 4.688 kB / 1.049 GB, free: 5.492 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.7001, allocations: 38.5 kB / 1.049 GB, free: 5.445 MB / 0.795 GB Notification: Performance of pre-optimization done (n=41): time 2.424e-06/0.7001, allocations: 4 kB / 1.049 GB, free: 5.441 MB / 0.795 GB Notification: Performance of matching and sorting (n=42): time 0.004484/0.7046, allocations: 2.065 MB / 1.051 GB, free: 3.281 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.7047, allocations: 59.41 kB / 1.051 GB, free: 3.211 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005002/0.7052, allocations: 466.7 kB / 1.051 GB, free: 2.742 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.7052, allocations: 33.7 kB / 1.051 GB, free: 2.703 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.7055, allocations: 395 kB / 1.052 GB, free: 2.312 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.7056, allocations: 145.8 kB / 1.052 GB, free: 2.168 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.492e-05/0.7057, allocations: 57.69 kB / 1.052 GB, free: 2.105 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.7059, allocations: 358.8 kB / 1.052 GB, free: 1.746 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003452/0.7062, allocations: 257.1 kB / 1.053 GB, free: 1.496 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000493/0.7067, allocations: 453.5 kB / 1.053 GB, free: 0.957 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009513/0.7077, allocations: 0.7595 MB / 1.054 GB, free: 104 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.7077, allocations: 0 / 1.054 GB, free: 104 kB / 0.795 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001932/0.7096, allocations: 1.074 MB / 1.055 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.7097, allocations: 8 kB / 1.055 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.7097, allocations: 8 kB / 1.055 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.7108, allocations: 323.3 kB / 1.055 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.7111, allocations: 95.83 kB / 1.055 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006871/0.718, allocations: 6.958 MB / 1.062 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005046/0.7185, allocations: 36.02 kB / 1.062 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/0.7186, allocations: 24 kB / 1.062 GB, free: 7.016 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003692/0.719, allocations: 249.5 kB / 1.062 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.776e-05/0.7191, allocations: 55.34 kB / 1.062 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/0.7208, allocations: 0.9237 MB / 1.063 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.7208, allocations: 4 kB / 1.063 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.7209, allocations: 4 kB / 1.063 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.7209, allocations: 96 / 1.063 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002658/0.7235, allocations: 1.712 MB / 1.065 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.7236, allocations: 3.984 kB / 1.065 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.7237, allocations: 48.09 kB / 1.065 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009536/0.7247, allocations: 319.1 kB / 1.065 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.7248, allocations: 12 kB / 1.065 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006742/0.7315, allocations: 6.943 MB / 1.072 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.7316, allocations: 4 kB / 1.072 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.7333, allocations: 1.011 MB / 1.073 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002554/0.7336, allocations: 172.3 kB / 1.073 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.727e-05/0.7337, allocations: 15.98 kB / 1.073 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.734, allocations: 15.98 kB / 1.073 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.7341, allocations: 52.11 kB / 1.073 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.7342, allocations: 15.94 kB / 1.073 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003488/0.7345, allocations: 314.9 kB / 1.074 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7345, allocations: 0 / 1.074 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007928/0.7353, allocations: 196 kB / 1.074 GB, free: 10.25 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001535/0.7355, allocations: 117.2 kB / 1.074 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001858/0.7373, allocations: 1.195 MB / 1.075 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.7374, allocations: 0 / 1.075 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.7385, allocations: 0.8734 MB / 1.076 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.7397, allocations: 187.4 kB / 1.076 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.7419, allocations: 1.609 MB / 1.078 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006248/0.7426, allocations: 0.992 MB / 1.079 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.7427, allocations: 39.44 kB / 1.079 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.7427, allocations: 0 / 1.079 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of Templates: time 0.02452/0.7672, allocations: 18.57 MB / 1.097 GB, free: 2.504 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches