Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008888/0.0008888, allocations: 91.92 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.001569/0.001569, allocations: 182.9 kB / 16.92 MB, free: 6.926 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.476/1.476, allocations: 223.3 MB / 241 MB, free: 5.262 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.737/2.737, allocations: 437.8 MB / 0.7128 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003286/0.0003287, allocations: 8 kB / 0.8735 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6781/0.6785, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02487/0.7034, allocations: 22.58 MB / 1.046 GB, free: 9.227 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01208/0.7155, allocations: 6.446 MB / 1.052 GB, free: 2.762 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002399/0.718, allocations: 75.56 kB / 1.052 GB, free: 2.688 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.7198, allocations: 472.5 kB / 1.053 GB, free: 2.223 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00506/0.7248, allocations: 1.743 MB / 1.054 GB, free: 484 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003512/0.7284, allocations: 1.203 MB / 1.055 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01144/0.7399, allocations: 10.62 MB / 1.066 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01313/0.753, allocations: 8.047 MB / 1.074 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004486/0.7576, allocations: 2.066 MB / 1.076 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005448/0.763, allocations: 3.189 MB / 1.079 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001318/0.7644, allocations: 244 kB / 1.079 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003416/0.7678, allocations: 1.065 MB / 1.08 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003785/0.7716, allocations: 2.108 MB / 1.082 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.004918/0.7766, allocations: 2.132 MB / 1.084 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.008615/0.7852, allocations: 7.03 MB / 1.091 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.7853, allocations: 0 / 1.091 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.053e-06/0.7853, allocations: 3.938 kB / 1.091 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002957/0.7856, allocations: 0 / 1.091 GB, free: 10.61 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.008714/0.7943, allocations: 3.566 MB / 1.095 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.7944, allocations: 12.03 kB / 1.095 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009364/0.8037, allocations: 1.689 MB / 1.096 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005049/0.8088, allocations: 2.563 MB / 1.099 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002716/0.8091, allocations: 275.7 kB / 1.099 GB, free: 2.387 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001236/0.8104, allocations: 368.2 kB / 1.099 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01612/0.8265, allocations: 7.491 MB / 1.107 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001751/0.8267, allocations: 11.94 kB / 1.107 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009186/0.8277, allocations: 163.9 kB / 1.107 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006625/0.8283, allocations: 483.3 kB / 1.107 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01174/0.8401, allocations: 5.701 MB / 1.113 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04065/0.8808, allocations: 31.7 MB / 1.144 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003541/0.8843, allocations: 2.093 MB / 1.146 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003386/0.8878, allocations: 2.163 MB / 1.148 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002136/0.888, allocations: 17.3 kB / 1.148 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.89e-05/0.8881, allocations: 55.81 kB / 1.148 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=146): time 3.907e-06/0.8881, allocations: 4 kB / 1.148 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of matching and sorting (n=251): time 0.3163/1.204, allocations: 75.27 MB / 1.222 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/1.205, allocations: 81.41 kB / 1.222 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002756/1.207, allocations: 1.67 MB / 1.223 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0005132/1.208, allocations: 69.7 kB / 1.223 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001233/1.209, allocations: 1.755 MB / 1.225 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001139/1.21, allocations: 0.851 MB / 1.226 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005744/1.211, allocations: 203 kB / 1.226 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.211, allocations: 301.1 kB / 1.226 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004285/1.215, allocations: 2.734 MB / 1.229 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004824/1.22, allocations: 3.332 MB / 1.232 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00971/1.23, allocations: 6.393 MB / 1.239 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.036e-05/1.23, allocations: 8 kB / 1.239 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03579/1.266, allocations: 14.67 MB / 1.253 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.742e-05/1.266, allocations: 12 kB / 1.253 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.872e-05/1.266, allocations: 16 kB / 1.253 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5382/1.804, allocations: 9.244 MB / 1.262 GB, free: 207.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/1.806, allocations: 297.9 kB / 1.262 GB, free: 207.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06784/1.873, allocations: 47.15 MB / 1.308 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003017/1.876, allocations: 219.7 kB / 1.308 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003446/1.877, allocations: 103.7 kB / 1.309 GB, free: 185.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002497/1.879, allocations: 1.588 MB / 1.31 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005141/1.88, allocations: 256.7 kB / 1.31 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0301/1.91, allocations: 14.75 MB / 1.325 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.448e-05/1.91, allocations: 24 kB / 1.325 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001409/1.91, allocations: 44 kB / 1.325 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.971e-05/1.91, allocations: 15.89 kB / 1.325 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03655/1.947, allocations: 20.51 MB / 1.345 GB, free: 148.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.51e-05/1.947, allocations: 8.844 kB / 1.345 GB, free: 148.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008019/1.948, allocations: 163.8 kB / 1.345 GB, free: 148 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0277/1.975, allocations: 9.007 MB / 1.354 GB, free: 138.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004773/1.976, allocations: 48 kB / 1.354 GB, free: 138.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06397/2.04, allocations: 46.74 MB / 1.399 GB, free: 91.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/2.04, allocations: 11.94 kB / 1.4 GB, free: 91.33 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02898/2.069, allocations: 14.37 MB / 1.414 GB, free: 76.82 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002188/2.071, allocations: 0.8455 MB / 1.414 GB, free: 75.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005781/2.072, allocations: 59.98 kB / 1.414 GB, free: 75.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002199/2.074, allocations: 203.7 kB / 1.415 GB, free: 75.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001313/2.075, allocations: 245.2 kB / 1.415 GB, free: 75.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002017/2.075, allocations: 64 kB / 1.415 GB, free: 75.39 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001342/2.077, allocations: 1.125 MB / 1.416 GB, free: 74.25 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/2.077, allocations: 0 / 1.416 GB, free: 74.25 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004824/2.082, allocations: 1.613 MB / 1.418 GB, free: 72.63 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004108/2.082, allocations: 164.2 kB / 1.418 GB, free: 72.47 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02066/2.103, allocations: 10.36 MB / 1.428 GB, free: 62.04 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/2.103, allocations: 192 / 1.428 GB, free: 62.04 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01661/2.119, allocations: 7.167 MB / 1.435 GB, free: 54.81 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004682/2.124, allocations: 0.5099 MB / 1.435 GB, free: 54.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/2.138, allocations: 11.24 MB / 1.446 GB, free: 42.99 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003533/2.141, allocations: 3.298 MB / 1.45 GB, free: 39.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004623/2.142, allocations: 111.4 kB / 1.45 GB, free: 39.55 MB / 0.9981 GB Notification: Performance of SimCode: time 1.203e-06/2.142, allocations: 3.938 kB / 1.45 GB, free: 39.54 MB / 0.9981 GB Notification: Performance of Templates: time 0.191/2.333, allocations: 187.1 MB / 1.632 GB, free: 12.33 MB / 1.154 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches