Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 114.6 kB / 16.42 MB, free: 6.504 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.001062/0.001062, allocations: 185.5 kB / 17.34 MB, free: 5.758 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.408/1.408, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.492/2.492, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 68.11 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069/1.071, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.042/1.113, allocations: 37.6 MB / 1.204 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02385/1.137, allocations: 13.03 MB / 1.217 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00557/1.142, allocations: 171.1 kB / 1.217 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.01068/1.153, allocations: 3.893 MB / 1.221 GB, free: 13 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.009512/1.163, allocations: 2.612 MB / 1.223 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.008221/1.171, allocations: 2.708 MB / 1.226 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01602/1.187, allocations: 9.595 MB / 1.235 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01862/1.206, allocations: 10.51 MB / 1.246 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008209/1.214, allocations: 4.066 MB / 1.25 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008549/1.222, allocations: 4.388 MB / 1.254 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.003169/1.226, allocations: 0.7695 MB / 1.255 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006321/1.232, allocations: 1.779 MB / 1.256 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.005738/1.238, allocations: 3.037 MB / 1.259 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.009863/1.248, allocations: 3.587 MB / 1.263 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.02083/1.268, allocations: 11.88 MB / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/1.268, allocations: 0 / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.214e-06/1.268, allocations: 0 / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0005454/1.269, allocations: 3.938 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02225/1.291, allocations: 6.522 MB / 1.281 GB, free: 15.2 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/1.291, allocations: 8.625 kB / 1.281 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009394/1.301, allocations: 1.324 MB / 1.282 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009476/1.31, allocations: 3.817 MB / 1.286 GB, free: 9.973 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004112/1.311, allocations: 378.5 kB / 1.286 GB, free: 9.602 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002374/1.313, allocations: 0.4963 MB / 1.287 GB, free: 9.105 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0248/1.338, allocations: 8.894 MB / 1.295 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000328/1.338, allocations: 23.77 kB / 1.295 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002312/1.341, allocations: 220 kB / 1.296 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002197/1.343, allocations: 0.6343 MB / 1.296 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01686/1.36, allocations: 7.01 MB / 1.303 GB, free: 7.961 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05528/1.415, allocations: 40.12 MB / 1.342 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004959/1.42, allocations: 2.89 MB / 1.345 GB, free: 9.711 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004528/1.425, allocations: 2.663 MB / 1.348 GB, free: 7.039 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003655/1.425, allocations: 26.09 kB / 1.348 GB, free: 7.012 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.755e-05/1.425, allocations: 76.58 kB / 1.348 GB, free: 6.926 MB / 1.076 GB Notification: Performance of pre-optimization done (n=265): time 5.35e-06/1.425, allocations: 0 / 1.348 GB, free: 6.926 MB / 1.076 GB Notification: Performance of matching and sorting (n=424): time 0.2822/1.707, allocations: 74.78 MB / 1.421 GB, free: 11.49 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/1.707, allocations: 98.73 kB / 1.421 GB, free: 11.38 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004474/1.712, allocations: 2.359 MB / 1.423 GB, free: 9.008 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.001016/1.713, allocations: 97.7 kB / 1.423 GB, free: 8.906 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001819/1.715, allocations: 2.399 MB / 1.426 GB, free: 6.488 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.002195/1.717, allocations: 1.51 MB / 1.427 GB, free: 4.965 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002794/1.72, allocations: 0.7256 MB / 1.428 GB, free: 4.227 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.72, allocations: 305.1 kB / 1.428 GB, free: 3.926 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005367/1.725, allocations: 2.999 MB / 1.431 GB, free: 0.918 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005817/1.731, allocations: 3.843 MB / 1.435 GB, free: 12.74 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01145/1.743, allocations: 7.391 MB / 1.442 GB, free: 5.023 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.779e-05/1.743, allocations: 4 kB / 1.442 GB, free: 5.02 MB / 1.17 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03363/1.776, allocations: 12.58 MB / 1.454 GB, free: 8.336 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/1.776, allocations: 12 kB / 1.454 GB, free: 8.324 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.808e-05/1.776, allocations: 28.16 kB / 1.454 GB, free: 8.297 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02414/1.801, allocations: 6.027 MB / 1.46 GB, free: 2.203 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002415/1.803, allocations: 491.2 kB / 1.461 GB, free: 1.723 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1052/1.908, allocations: 73.05 MB / 1.532 GB, free: 5.34 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004388/1.913, allocations: 219.7 kB / 1.532 GB, free: 5.125 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001154/1.914, allocations: 156 kB / 1.532 GB, free: 4.973 MB / 1.264 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005177/1.919, allocations: 1.988 MB / 1.534 GB, free: 2.973 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001742/1.921, allocations: 409.5 kB / 1.535 GB, free: 2.57 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03422/1.955, allocations: 12.23 MB / 1.547 GB, free: 6.227 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001312/1.955, allocations: 19.92 kB / 1.547 GB, free: 6.207 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/1.955, allocations: 4 kB / 1.547 GB, free: 6.203 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003337/1.959, allocations: 1.119 MB / 1.548 GB, free: 5.062 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001527/1.96, allocations: 75.98 kB / 1.548 GB, free: 4.988 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003379/1.964, allocations: 175.8 kB / 1.548 GB, free: 4.816 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00164/1.965, allocations: 0.514 MB / 1.548 GB, free: 4.301 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.8125/2.778, allocations: 12.61 MB / 1.561 GB, free: 350.8 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01263/2.79, allocations: 10.74 MB / 1.571 GB, free: 347.5 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003586/2.794, allocations: 3.5 MB / 1.575 GB, free: 346.1 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001898/2.796, allocations: 1.552 MB / 1.576 GB, free: 345.5 MB / 1.279 GB Notification: Performance of Backend: time 3.8e-07/2.796, allocations: 2.75 kB / 1.576 GB, free: 345.5 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01636/2.812, allocations: 10.42 MB / 1.586 GB, free: 339.9 MB / 1.279 GB Notification: Performance of SimCode: time 0.01736/2.83, allocations: 14.19 MB / 1.6 GB, free: 331.2 MB / 1.279 GB Notification: Performance of Templates: time 0.1398/2.97, allocations: 108.8 MB / 1.707 GB, free: 227.8 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches