Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.ACLineMatrix_RL,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 113.5 kB / 16.37 MB, free: 6.012 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.001355/0.001355, allocations: 189 kB / 17.3 MB, free: 5.613 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.557/2.557, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 58.81 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3398, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02591/0.3657, allocations: 22.6 MB / 1.049 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01081/0.3766, allocations: 6.233 MB / 1.055 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001962/0.3786, allocations: 95.5 kB / 1.055 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004192/0.3828, allocations: 1.558 MB / 1.057 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.004212/0.387, allocations: 1.622 MB / 1.058 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003412/0.3904, allocations: 1.34 MB / 1.059 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.007244/0.3977, allocations: 5.935 MB / 1.065 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007654/0.4054, allocations: 6.041 MB / 1.071 GB, free: 4.445 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004058/0.4095, allocations: 2.415 MB / 1.073 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6156/1.025, allocations: 2.865 MB / 1.076 GB, free: 25.27 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002469/1.028, allocations: 457.4 kB / 1.077 GB, free: 25.27 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004099/1.032, allocations: 1.099 MB / 1.078 GB, free: 25.27 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.00414/1.036, allocations: 2.03 MB / 1.08 GB, free: 25.27 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.007931/1.044, allocations: 2.166 MB / 1.082 GB, free: 25.04 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01492/1.059, allocations: 7.295 MB / 1.089 GB, free: 24.37 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/1.059, allocations: 0 / 1.089 GB, free: 24.37 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.453e-06/1.059, allocations: 1.188 kB / 1.089 GB, free: 24.37 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003127/1.059, allocations: 0 / 1.089 GB, free: 24.37 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01612/1.075, allocations: 3.823 MB / 1.093 GB, free: 22.83 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/1.075, allocations: 9.578 kB / 1.093 GB, free: 22.83 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007984/1.083, allocations: 1.208 MB / 1.094 GB, free: 22.63 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008942/1.092, allocations: 2.338 MB / 1.096 GB, free: 22.09 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003189/1.093, allocations: 244.8 kB / 1.096 GB, free: 22.08 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002057/1.095, allocations: 323.1 kB / 1.097 GB, free: 22.07 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01525/1.11, allocations: 6.213 MB / 1.103 GB, free: 20.35 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001122/1.11, allocations: 13.83 kB / 1.103 GB, free: 20.35 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005229/1.111, allocations: 142.4 kB / 1.103 GB, free: 20.25 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006454/1.111, allocations: 408.5 kB / 1.103 GB, free: 20.2 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01118/1.122, allocations: 4.659 MB / 1.108 GB, free: 18.69 MB / 0.8419 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04476/1.167, allocations: 28.95 MB / 1.136 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002774/1.17, allocations: 1.412 MB / 1.138 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002358/1.172, allocations: 1.487 MB / 1.139 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/1.173, allocations: 10.75 kB / 1.139 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/1.173, allocations: 47.33 kB / 1.139 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=110): time 5.68e-06/1.173, allocations: 9.047 kB / 1.139 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=179): time 0.1314/1.304, allocations: 37.22 MB / 1.175 GB, free: 1.883 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/1.304, allocations: 69.41 kB / 1.175 GB, free: 1.805 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00236/1.307, allocations: 1.423 MB / 1.177 GB, free: 384 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0003709/1.307, allocations: 53.7 kB / 1.177 GB, free: 324 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001192/1.308, allocations: 1.549 MB / 1.178 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007571/1.309, allocations: 0.6092 MB / 1.179 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000743/1.31, allocations: 383.3 kB / 1.179 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001088/1.31, allocations: 305.1 kB / 1.18 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002517/1.312, allocations: 1.788 MB / 1.181 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002886/1.315, allocations: 2.353 MB / 1.184 GB, free: 9.125 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006121/1.321, allocations: 4.387 MB / 1.188 GB, free: 4.566 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/1.321, allocations: 7.938 kB / 1.188 GB, free: 4.559 MB / 0.8887 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01771/1.339, allocations: 8.566 MB / 1.196 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.925e-05/1.339, allocations: 16.03 kB / 1.196 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.96e-05/1.339, allocations: 16 kB / 1.196 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01459/1.354, allocations: 4.631 MB / 1.201 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/1.355, allocations: 306.7 kB / 1.201 GB, free: 7.211 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04881/1.404, allocations: 32.59 MB / 1.233 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/1.406, allocations: 147.8 kB / 1.233 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002644/1.407, allocations: 91.94 kB / 1.233 GB, free: 5.625 MB / 0.9356 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002861/1.41, allocations: 1.333 MB / 1.235 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006199/1.41, allocations: 205.5 kB / 1.235 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01732/1.428, allocations: 8.431 MB / 1.243 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/1.428, allocations: 20.66 kB / 1.243 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.37e-05/1.428, allocations: 24 kB / 1.243 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.252e-05/1.428, allocations: 7.969 kB / 1.243 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.027/1.455, allocations: 12.87 MB / 1.256 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.218e-05/1.455, allocations: 4 kB / 1.256 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007396/1.456, allocations: 166 kB / 1.256 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01465/1.47, allocations: 4.482 MB / 1.26 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004207/1.471, allocations: 47.38 kB / 1.26 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0479/1.519, allocations: 32.18 MB / 1.292 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/1.519, allocations: 11.66 kB / 1.292 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01732/1.536, allocations: 8.241 MB / 1.3 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002097/1.538, allocations: 0.6156 MB / 1.3 GB, free: 292 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005061/1.539, allocations: 43.94 kB / 1.3 GB, free: 248 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/1.54, allocations: 131.8 kB / 1.3 GB, free: 116 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000844/1.541, allocations: 179.2 kB / 1.301 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/1.541, allocations: 48 kB / 1.301 GB, free: 15.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001454/1.543, allocations: 0.9588 MB / 1.302 GB, free: 14.95 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.81e-07/1.543, allocations: 0 / 1.302 GB, free: 14.95 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003714/1.546, allocations: 1.117 MB / 1.303 GB, free: 13.83 MB / 1.014 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003569/1.547, allocations: 148.8 kB / 1.303 GB, free: 13.68 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01262/1.559, allocations: 6.533 MB / 1.309 GB, free: 7.145 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/1.559, allocations: 0 / 1.309 GB, free: 7.145 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.009423/1.569, allocations: 4.362 MB / 1.313 GB, free: 2.746 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003003/1.572, allocations: 0.5276 MB / 1.314 GB, free: 2.234 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/1.584, allocations: 6.794 MB / 1.321 GB, free: 11.37 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003188/1.588, allocations: 2.723 MB / 1.323 GB, free: 8.613 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001149/1.589, allocations: 392.5 kB / 1.324 GB, free: 8.227 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/1.589, allocations: 95.42 kB / 1.324 GB, free: 8.133 MB / 1.029 GB Notification: Performance of SimCode: time 7.81e-07/1.589, allocations: 3.75 kB / 1.324 GB, free: 8.133 MB / 1.029 GB Notification: Performance of Templates: time 0.0959/1.685, allocations: 60.51 MB / 1.383 GB, free: 12.03 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches