Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001129/0.001129, allocations: 106.8 kB / 16.37 MB, free: 6.477 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.001284/0.001284, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.499/2.499, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 59.41 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.319, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03984/0.3589, allocations: 32.61 MB / 1.059 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01796/0.3769, allocations: 10.27 MB / 1.069 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002703/0.3797, allocations: 147.2 kB / 1.069 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.009058/0.3888, allocations: 3.713 MB / 1.072 GB, free: 3.152 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006047/0.3948, allocations: 1.858 MB / 1.074 GB, free: 1.285 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.5731/0.9679, allocations: 2.126 MB / 1.076 GB, free: 20.57 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01078/0.9787, allocations: 7.32 MB / 1.083 GB, free: 20.56 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01521/0.994, allocations: 9.414 MB / 1.093 GB, free: 18.8 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007924/1.002, allocations: 3.17 MB / 1.096 GB, free: 18.58 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008187/1.01, allocations: 3.486 MB / 1.099 GB, free: 18.17 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.003535/1.014, allocations: 0.6458 MB / 1.1 GB, free: 18.17 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006254/1.02, allocations: 1.769 MB / 1.101 GB, free: 18.17 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.00569/1.026, allocations: 2.547 MB / 1.104 GB, free: 17.51 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.008569/1.034, allocations: 2.899 MB / 1.107 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01985/1.054, allocations: 10.1 MB / 1.117 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/1.054, allocations: 0 / 1.117 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.035e-06/1.054, allocations: 0 / 1.117 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0005375/1.055, allocations: 1.188 kB / 1.117 GB, free: 12.71 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01805/1.073, allocations: 5.006 MB / 1.122 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/1.073, allocations: 9.438 kB / 1.122 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00714/1.08, allocations: 0.9497 MB / 1.122 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009147/1.089, allocations: 3.043 MB / 1.125 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005337/1.09, allocations: 347.7 kB / 1.126 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002471/1.092, allocations: 463.9 kB / 1.126 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02206/1.114, allocations: 7.674 MB / 1.134 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004169/1.115, allocations: 24.59 kB / 1.134 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002187/1.117, allocations: 202.1 kB / 1.134 GB, free: 3.812 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00046/1.118, allocations: 319.1 kB / 1.134 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01359/1.131, allocations: 5.708 MB / 1.14 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04571/1.177, allocations: 34.82 MB / 1.174 GB, free: 15 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002995/1.18, allocations: 2.156 MB / 1.176 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00177/1.182, allocations: 1.261 MB / 1.177 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/1.182, allocations: 17.31 kB / 1.177 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/1.182, allocations: 47.86 kB / 1.177 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=133): time 4.348e-06/1.182, allocations: 4 kB / 1.177 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of matching and sorting (n=136): time 0.01497/1.197, allocations: 7.088 MB / 1.184 GB, free: 4.066 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/1.197, allocations: 64.72 kB / 1.184 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/1.2, allocations: 1.491 MB / 1.186 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001392/1.2, allocations: 45.7 kB / 1.186 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001481/1.201, allocations: 2.007 MB / 1.188 GB, free: 392 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005148/1.202, allocations: 485.1 kB / 1.188 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006078/1.202, allocations: 355.1 kB / 1.188 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.939e-05/1.202, allocations: 301.1 kB / 1.189 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/1.204, allocations: 0.9135 MB / 1.19 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001878/1.206, allocations: 1.594 MB / 1.191 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003389/1.209, allocations: 2.727 MB / 1.194 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.869e-05/1.209, allocations: 7.562 kB / 1.194 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006237/1.215, allocations: 3.539 MB / 1.197 GB, free: 6.043 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/1.215, allocations: 15.98 kB / 1.197 GB, free: 6.027 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.854e-05/1.215, allocations: 24 kB / 1.197 GB, free: 6.004 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00257/1.218, allocations: 0.8992 MB / 1.198 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/1.219, allocations: 351.4 kB / 1.199 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02059/1.24, allocations: 23.11 MB / 1.221 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/1.242, allocations: 99.95 kB / 1.221 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003471/1.242, allocations: 84 kB / 1.221 GB, free: 11.79 MB / 0.9356 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003104/1.245, allocations: 1.622 MB / 1.223 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005818/1.246, allocations: 205.5 kB / 1.223 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005354/1.251, allocations: 2.99 MB / 1.226 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/1.251, allocations: 12 kB / 1.226 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.255e-05/1.251, allocations: 15.98 kB / 1.226 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/1.251, allocations: 3.984 kB / 1.226 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/1.266, allocations: 7.336 MB / 1.233 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/1.266, allocations: 4.562 kB / 1.233 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008141/1.267, allocations: 179.7 kB / 1.233 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002422/1.269, allocations: 0.8257 MB / 1.234 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/1.269, allocations: 24 kB / 1.234 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01971/1.289, allocations: 21.95 MB / 1.256 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/1.289, allocations: 4 kB / 1.256 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005656/1.295, allocations: 3.021 MB / 1.259 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001403/1.296, allocations: 454.5 kB / 1.259 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005648/1.297, allocations: 43.86 kB / 1.259 GB, free: 3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/1.298, allocations: 71.92 kB / 1.259 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004103/1.298, allocations: 120.7 kB / 1.259 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.743e-05/1.299, allocations: 36 kB / 1.259 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001706/1.3, allocations: 0.9795 MB / 1.26 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.623e-06/1.3, allocations: 0 / 1.26 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003401/1.304, allocations: 0.7929 MB / 1.261 GB, free: 0.9805 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002746/1.304, allocations: 135.1 kB / 1.261 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00596/1.31, allocations: 4.046 MB / 1.265 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.31, allocations: 1 kB / 1.265 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003777/1.314, allocations: 2.728 MB / 1.268 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00369/1.317, allocations: 0.7266 MB / 1.268 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/1.332, allocations: 7.116 MB / 1.275 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004342/1.336, allocations: 3.113 MB / 1.278 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001557/1.338, allocations: 454 kB / 1.279 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003828/1.338, allocations: 115.4 kB / 1.279 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of SimCode: time 9.02e-07/1.338, allocations: 0 / 1.279 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of Templates: time 0.0638/1.402, allocations: 35.71 MB / 1.314 GB, free: 10.96 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches