Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.ACLineMedium,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.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009012/0.009012, allocations: 98.38 kB / 15.73 MB, free: 6.055 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.001448/0.001447, allocations: 191.7 kB / 16.67 MB, free: 5.965 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.593/1.593, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.657/2.657, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 63.89 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.208/1.209, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02713/1.237, allocations: 14.8 MB / 1.181 GB, free: 4.969 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02407/1.261, allocations: 10.34 MB / 1.191 GB, free: 10.59 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002756/1.264, allocations: 55.69 kB / 1.191 GB, free: 10.53 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.006867/1.271, allocations: 1.687 MB / 1.193 GB, free: 8.84 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009901/1.28, allocations: 1.813 MB / 1.195 GB, free: 7.031 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003616/1.284, allocations: 0.7572 MB / 1.195 GB, free: 6.273 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006834/1.291, allocations: 2.748 MB / 1.198 GB, free: 3.516 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003242/1.294, allocations: 1.423 MB / 1.199 GB, free: 2.059 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003821/1.298, allocations: 1.492 MB / 1.201 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003119/1.301, allocations: 1.171 MB / 1.202 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005082/1.302, allocations: 160 kB / 1.202 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002662/1.304, allocations: 0.7838 MB / 1.203 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001015/1.305, allocations: 0.6115 MB / 1.204 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001726/1.307, allocations: 0.9561 MB / 1.204 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006106/1.313, allocations: 2.771 MB / 1.207 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/1.313, allocations: 0 / 1.207 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.226e-06/1.313, allocations: 0 / 1.207 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.545e-05/1.313, allocations: 0 / 1.207 GB, free: 10.09 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.006902/1.32, allocations: 2.226 MB / 1.209 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/1.32, allocations: 12.92 kB / 1.209 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01958/1.34, allocations: 2.11 MB / 1.211 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005033/1.345, allocations: 1.324 MB / 1.213 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/1.345, allocations: 90.67 kB / 1.213 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004855/1.346, allocations: 128 kB / 1.213 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009793/1.356, allocations: 2.663 MB / 1.216 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.73e-05/1.356, allocations: 15.89 kB / 1.216 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003474/1.356, allocations: 51.98 kB / 1.216 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001012/1.357, allocations: 198.1 kB / 1.216 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01207/1.369, allocations: 2.795 MB / 1.219 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02296/1.392, allocations: 10.46 MB / 1.229 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009899/1.402, allocations: 2.34 MB / 1.231 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005286/1.407, allocations: 1.276 MB / 1.232 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/1.408, allocations: 13 kB / 1.232 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.879e-05/1.408, allocations: 47.55 kB / 1.232 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=89): time 4.148e-06/1.408, allocations: 0 / 1.232 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of matching and sorting (n=153): time 0.09624/1.504, allocations: 16.52 MB / 1.248 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/1.504, allocations: 68.72 kB / 1.249 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002491/1.507, allocations: 1.176 MB / 1.25 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003351/1.507, allocations: 49.7 kB / 1.25 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008445/1.508, allocations: 0.7607 MB / 1.25 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008559/1.509, allocations: 0.5383 MB / 1.251 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009506/1.51, allocations: 287.5 kB / 1.251 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001512/1.51, allocations: 305.1 kB / 1.252 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005881/1.516, allocations: 1.514 MB / 1.253 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005459/1.521, allocations: 1.78 MB / 1.255 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01179/1.533, allocations: 3.373 MB / 1.258 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/1.533, allocations: 4 kB / 1.258 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.02107/1.554, allocations: 5.273 MB / 1.263 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/1.554, allocations: 8.875 kB / 1.263 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/1.554, allocations: 8 kB / 1.263 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007628/1.562, allocations: 1.889 MB / 1.265 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/1.564, allocations: 415.2 kB / 1.265 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03209/1.596, allocations: 24.15 MB / 1.289 GB, free: 3.785 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/1.599, allocations: 307.6 kB / 1.289 GB, free: 3.484 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/1.599, allocations: 67.97 kB / 1.289 GB, free: 3.418 MB / 1.014 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 (82): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008913/1.6, allocations: 469.3 kB / 1.29 GB, free: 2.949 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003396/1.601, allocations: 186.9 kB / 1.29 GB, free: 2.766 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01435/1.615, allocations: 5.324 MB / 1.295 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/1.615, allocations: 16 kB / 1.295 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.226e-05/1.615, allocations: 24 kB / 1.295 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.929e-05/1.615, allocations: 7.969 kB / 1.295 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0179/1.633, allocations: 7.423 MB / 1.303 GB, free: 5.797 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/1.633, allocations: 4 kB / 1.303 GB, free: 5.793 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001777/1.635, allocations: 351.4 kB / 1.303 GB, free: 5.449 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006275/1.641, allocations: 1.704 MB / 1.305 GB, free: 3.723 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000194/1.641, allocations: 43.97 kB / 1.305 GB, free: 3.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03192/1.673, allocations: 23.33 MB / 1.327 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.934e-06/1.673, allocations: 8 kB / 1.327 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01479/1.688, allocations: 4.896 MB / 1.332 GB, free: 6.246 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001406/1.69, allocations: 0.4958 MB / 1.333 GB, free: 5.73 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006044/1.69, allocations: 24 kB / 1.333 GB, free: 5.707 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00252/1.693, allocations: 323.4 kB / 1.333 GB, free: 5.391 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006219/1.693, allocations: 153 kB / 1.333 GB, free: 5.238 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001551/1.694, allocations: 55.95 kB / 1.333 GB, free: 5.184 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00121/1.695, allocations: 0.786 MB / 1.334 GB, free: 4.398 MB / 1.061 GB Notification: Performance of sort global known variables: time 4.01e-07/1.695, allocations: 0 / 1.334 GB, free: 4.398 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002575/1.697, allocations: 0.6523 MB / 1.335 GB, free: 3.746 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003657/1.698, allocations: 156.7 kB / 1.335 GB, free: 3.586 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01195/1.71, allocations: 5.151 MB / 1.34 GB, free: 14.33 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/1.71, allocations: 4.125 kB / 1.34 GB, free: 14.32 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.007849/1.718, allocations: 3.362 MB / 1.343 GB, free: 10.86 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003258/1.721, allocations: 0.5603 MB / 1.344 GB, free: 10.32 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/1.732, allocations: 4.33 MB / 1.348 GB, free: 5.934 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002266/1.734, allocations: 1.572 MB / 1.349 GB, free: 4.324 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001795/1.736, allocations: 390.3 kB / 1.35 GB, free: 3.938 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004864/1.737, allocations: 107.4 kB / 1.35 GB, free: 3.836 MB / 1.076 GB Notification: Performance of SimCode: time 1.573e-06/1.737, allocations: 4 kB / 1.35 GB, free: 3.832 MB / 1.076 GB Notification: Performance of Templates: time 0.07975/1.816, allocations: 45.37 MB / 1.394 GB, free: 6.898 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches