Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 111 kB / 15.99 MB, free: 6.344 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.001803/0.001803, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 390.2 MB / 0.665 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 62.89 kB / 0.8127 GB, free: 33.11 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2731, allocations: 140.4 MB / 0.9498 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03769/0.3109, allocations: 32.32 MB / 0.9813 GB, free: 8.777 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01693/0.3279, allocations: 10.18 MB / 0.9913 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00276/0.3307, allocations: 135.2 kB / 0.9914 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.009122/0.3399, allocations: 3.491 MB / 0.9948 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005213/0.3451, allocations: 1.7 MB / 0.9965 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.005765/0.3509, allocations: 1.949 MB / 0.9984 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.009336/0.3602, allocations: 7.341 MB / 1.006 GB, free: 15.93 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01924/0.3795, allocations: 11.6 MB / 1.017 GB, free: 4.199 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005893/0.3855, allocations: 3.22 MB / 1.02 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006061/0.3916, allocations: 3.661 MB / 1.024 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002062/0.3937, allocations: 0.6445 MB / 1.024 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005013/0.3987, allocations: 1.763 MB / 1.026 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.004423/0.4032, allocations: 2.546 MB / 1.028 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.006166/0.4094, allocations: 2.902 MB / 1.031 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01031/0.4197, allocations: 8.633 MB / 1.04 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.4197, allocations: 3.938 kB / 1.04 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.405e-06/0.4198, allocations: 0 / 1.04 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0003601/0.4201, allocations: 0 / 1.04 GB, free: 12.77 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01601/0.4361, allocations: 4.99 MB / 1.045 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.4362, allocations: 12.03 kB / 1.045 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006196/0.4424, allocations: 0.959 MB / 1.046 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005951/0.4484, allocations: 2.855 MB / 1.048 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003407/0.4488, allocations: 349.6 kB / 1.049 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001558/0.4503, allocations: 468.2 kB / 1.049 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01766/0.468, allocations: 7.663 MB / 1.057 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002365/0.4683, allocations: 27.78 kB / 1.057 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001205/0.4695, allocations: 196 kB / 1.057 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003897/0.4699, allocations: 312.9 kB / 1.057 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01134/0.4813, allocations: 5.71 MB / 1.063 GB, free: 4.746 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4901/0.9714, allocations: 35.09 MB / 1.097 GB, free: 105.8 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003097/0.9745, allocations: 2.153 MB / 1.099 GB, free: 104.6 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001823/0.9764, allocations: 1.267 MB / 1.1 GB, free: 104.1 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.9765, allocations: 18.09 kB / 1.1 GB, free: 104.1 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.9765, allocations: 45.73 kB / 1.1 GB, free: 104.1 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=133): time 4.709e-06/0.9765, allocations: 1.078 kB / 1.1 GB, free: 104.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=136): time 0.01502/0.9915, allocations: 7.081 MB / 1.107 GB, free: 100.6 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.9916, allocations: 65.81 kB / 1.107 GB, free: 100.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002539/0.9942, allocations: 1.488 MB / 1.109 GB, free: 99.89 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002637/0.9945, allocations: 52.83 kB / 1.109 GB, free: 99.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001333/0.9958, allocations: 2.01 MB / 1.111 GB, free: 98.32 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006202/0.9965, allocations: 489.1 kB / 1.111 GB, free: 97.95 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007325/0.9972, allocations: 347.5 kB / 1.112 GB, free: 97.78 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.473e-05/0.9973, allocations: 303.1 kB / 1.112 GB, free: 97.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/0.9987, allocations: 0.9129 MB / 1.113 GB, free: 97.15 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00192/1.001, allocations: 1.595 MB / 1.114 GB, free: 95.94 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004336/1.005, allocations: 2.741 MB / 1.117 GB, free: 94.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.347e-05/1.005, allocations: 6.812 kB / 1.117 GB, free: 94.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007783/1.013, allocations: 3.532 MB / 1.12 GB, free: 92.69 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.97e-05/1.013, allocations: 16.38 kB / 1.12 GB, free: 92.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.126e-05/1.013, allocations: 22.91 kB / 1.12 GB, free: 92.69 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002818/1.016, allocations: 0.905 MB / 1.121 GB, free: 92.37 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/1.017, allocations: 348.3 kB / 1.122 GB, free: 92.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01942/1.037, allocations: 23.12 MB / 1.144 GB, free: 72.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/1.039, allocations: 102.8 kB / 1.144 GB, free: 72.42 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003862/1.039, allocations: 92.98 kB / 1.144 GB, free: 72.4 MB / 0.8575 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002921/1.042, allocations: 1.612 MB / 1.146 GB, free: 71.68 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005661/1.043, allocations: 202.9 kB / 1.146 GB, free: 71.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005558/1.048, allocations: 2.986 MB / 1.149 GB, free: 70.29 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.079e-05/1.048, allocations: 22 kB / 1.149 GB, free: 70.29 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.487e-05/1.048, allocations: 8.906 kB / 1.149 GB, free: 70.29 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.391e-05/1.048, allocations: 8.875 kB / 1.149 GB, free: 70.29 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/1.063, allocations: 7.343 MB / 1.156 GB, free: 65.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/1.063, allocations: 9.578 kB / 1.156 GB, free: 65.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007999/1.064, allocations: 172.9 kB / 1.157 GB, free: 65.88 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002219/1.066, allocations: 0.8265 MB / 1.157 GB, free: 65.4 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001419/1.066, allocations: 31.78 kB / 1.157 GB, free: 65.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01457/1.081, allocations: 21.95 MB / 1.179 GB, free: 44.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.081, allocations: 11.31 kB / 1.179 GB, free: 44.93 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004623/1.085, allocations: 3.015 MB / 1.182 GB, free: 43.07 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009365/1.086, allocations: 471.4 kB / 1.182 GB, free: 42.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000414/1.087, allocations: 34.88 kB / 1.182 GB, free: 42.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009397/1.088, allocations: 68.91 kB / 1.182 GB, free: 42.66 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000327/1.088, allocations: 125.5 kB / 1.182 GB, free: 42.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.964e-05/1.088, allocations: 41.88 kB / 1.182 GB, free: 42.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00128/1.089, allocations: 0.9734 MB / 1.183 GB, free: 42.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.51e-07/1.089, allocations: 0 / 1.183 GB, free: 42.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00334/1.093, allocations: 0.7885 MB / 1.184 GB, free: 41.96 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003189/1.093, allocations: 149.4 kB / 1.184 GB, free: 41.83 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.006299/1.099, allocations: 4.643 MB / 1.189 GB, free: 39.04 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.099, allocations: 2.469 kB / 1.189 GB, free: 39.04 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.003088/1.102, allocations: 2.738 MB / 1.192 GB, free: 36.2 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003528/1.106, allocations: 0.7235 MB / 1.192 GB, free: 35.51 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01395/1.12, allocations: 9.801 MB / 1.202 GB, free: 25.64 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004365/1.124, allocations: 3.182 MB / 1.205 GB, free: 22.43 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005246/1.125, allocations: 123.4 kB / 1.205 GB, free: 22.31 MB / 0.8575 GB Notification: Performance of SimCode: time 9.72e-07/1.125, allocations: 7.938 kB / 1.205 GB, free: 22.3 MB / 0.8575 GB Notification: Performance of Templates: time 0.7773/1.902, allocations: 321.5 MB / 1.519 GB, free: 394.6 MB / 1.139 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches