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.007147/0.007147, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001727/0.001727, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.579/1.579, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.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.892/2.892, allocations: 437 MB / 0.7105 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 64.14 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3451, allocations: 151.6 MB / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01896/0.3641, allocations: 14.78 MB / 1.181 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01751/0.3816, allocations: 10.34 MB / 1.191 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001967/0.3837, allocations: 55.69 kB / 1.191 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.005212/0.3889, allocations: 1.696 MB / 1.193 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.007221/0.3962, allocations: 1.857 MB / 1.195 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002849/0.399, allocations: 0.7601 MB / 1.195 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005359/0.4044, allocations: 2.742 MB / 1.198 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002772/0.4072, allocations: 1.434 MB / 1.199 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00298/0.4102, allocations: 1.523 MB / 1.201 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002506/0.4127, allocations: 1.164 MB / 1.202 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0006119/0.4134, allocations: 160 kB / 1.202 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002488/0.4159, allocations: 0.7877 MB / 1.203 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001048/0.4169, allocations: 0.6154 MB / 1.204 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002127/0.4191, allocations: 0.9484 MB / 1.205 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005248/0.4243, allocations: 2.779 MB / 1.207 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4244, allocations: 0 / 1.207 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4244, allocations: 0 / 1.207 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001147/0.4245, allocations: 0 / 1.207 GB, free: 12.97 MB / 0.9669 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.006177/0.4307, allocations: 2.226 MB / 1.209 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.4307, allocations: 8.031 kB / 1.209 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/0.4423, allocations: 2.117 MB / 1.212 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004076/0.4465, allocations: 1.324 MB / 1.213 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.4467, allocations: 82.69 kB / 1.213 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005216/0.4472, allocations: 124.1 kB / 1.213 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006308/0.4535, allocations: 2.67 MB / 1.216 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.207e-05/0.4536, allocations: 11.89 kB / 1.216 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001776/0.4538, allocations: 47.98 kB / 1.216 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006185/0.4544, allocations: 194.1 kB / 1.216 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007323/0.4617, allocations: 2.795 MB / 1.219 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01579/0.4775, allocations: 10.46 MB / 1.229 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006068/0.4836, allocations: 2.336 MB / 1.231 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002843/0.4865, allocations: 1.276 MB / 1.232 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.95e-05/0.4866, allocations: 9 kB / 1.232 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.4866, allocations: 43.56 kB / 1.232 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=89): time 2.936e-06/0.4866, allocations: 0 / 1.232 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of matching and sorting (n=153): time 0.05687/0.5435, allocations: 16.52 MB / 1.249 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/0.5436, allocations: 68.72 kB / 1.249 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/0.5454, allocations: 1.176 MB / 1.25 GB, free: 416 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002666/0.5457, allocations: 49.7 kB / 1.25 GB, free: 360 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.8246/1.37, allocations: 0.7553 MB / 1.251 GB, free: 78.61 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001408/1.372, allocations: 0.5371 MB / 1.251 GB, free: 78.46 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001063/1.373, allocations: 291.8 kB / 1.251 GB, free: 78.44 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.599e-05/1.373, allocations: 304.9 kB / 1.252 GB, free: 78.14 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006229/1.379, allocations: 1.508 MB / 1.253 GB, free: 78.14 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006614/1.386, allocations: 1.785 MB / 1.255 GB, free: 77.55 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01421/1.4, allocations: 3.365 MB / 1.258 GB, free: 76.24 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.525e-05/1.4, allocations: 1.844 kB / 1.258 GB, free: 76.24 MB / 0.9981 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.03063/1.431, allocations: 5.286 MB / 1.263 GB, free: 74.52 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.684e-05/1.431, allocations: 8 kB / 1.263 GB, free: 74.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.148e-05/1.431, allocations: 6.75 kB / 1.263 GB, free: 74.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01436/1.445, allocations: 1.879 MB / 1.265 GB, free: 74.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004132/1.45, allocations: 423.2 kB / 1.266 GB, free: 74.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05179/1.501, allocations: 24.16 MB / 1.289 GB, free: 57.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005518/1.507, allocations: 300.4 kB / 1.289 GB, free: 57.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005083/1.508, allocations: 75.45 kB / 1.289 GB, free: 57.1 MB / 0.9981 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.001725/1.509, allocations: 459.1 kB / 1.29 GB, free: 56.82 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007965/1.51, allocations: 183 kB / 1.29 GB, free: 56.72 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01824/1.528, allocations: 5.326 MB / 1.295 GB, free: 54.92 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.482e-05/1.528, allocations: 14.44 kB / 1.295 GB, free: 54.92 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.702e-05/1.528, allocations: 19.69 kB / 1.295 GB, free: 54.92 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.537e-05/1.529, allocations: 11.27 kB / 1.295 GB, free: 54.91 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01825/1.547, allocations: 7.424 MB / 1.303 GB, free: 52.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.805e-05/1.547, allocations: 3.469 kB / 1.303 GB, free: 52.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/1.549, allocations: 355.6 kB / 1.303 GB, free: 52.24 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006271/1.555, allocations: 1.707 MB / 1.305 GB, free: 51.82 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002093/1.555, allocations: 43.12 kB / 1.305 GB, free: 51.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02491/1.58, allocations: 23.33 MB / 1.327 GB, free: 33.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.58, allocations: 3.875 kB / 1.327 GB, free: 33.69 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/1.591, allocations: 4.9 MB / 1.332 GB, free: 30.88 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/1.592, allocations: 0.4901 MB / 1.333 GB, free: 30.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/1.592, allocations: 27.91 kB / 1.333 GB, free: 30.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001889/1.594, allocations: 328.8 kB / 1.333 GB, free: 30.33 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007161/1.595, allocations: 148.5 kB / 1.333 GB, free: 30.24 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/1.595, allocations: 59.39 kB / 1.333 GB, free: 30.22 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001092/1.596, allocations: 0.7867 MB / 1.334 GB, free: 29.79 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.596, allocations: 0 / 1.334 GB, free: 29.79 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002452/1.599, allocations: 0.6581 MB / 1.335 GB, free: 29.71 MB / 0.9981 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.0003107/1.599, allocations: 138.3 kB / 1.335 GB, free: 29.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009894/1.609, allocations: 5.164 MB / 1.34 GB, free: 26 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.609, allocations: 8.125 kB / 1.34 GB, free: 25.99 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006063/1.615, allocations: 3.366 MB / 1.343 GB, free: 22.52 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/1.617, allocations: 0.5621 MB / 1.344 GB, free: 21.99 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007705/1.625, allocations: 4.335 MB / 1.348 GB, free: 17.63 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009565/1.626, allocations: 1.572 MB / 1.349 GB, free: 16.02 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001243/1.627, allocations: 386.1 kB / 1.35 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/1.628, allocations: 107.4 kB / 1.35 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of SimCode: time 1.293e-06/1.628, allocations: 0 / 1.35 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of Templates: time 0.07189/1.7, allocations: 45.36 MB / 1.394 GB, free: 2.68 MB / 1.029 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