Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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_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_10_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_10_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.001753/0.001752, allocations: 117 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.002073/0.002073, allocations: 192 kB / 17.31 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.376/1.376, 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 10.1.0-maint.10.0.x/package.mo): time 2.465/2.465, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 64.7 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.31, allocations: 151.7 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03543/0.3455, allocations: 32.6 MB / 1.051 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01653/0.3621, allocations: 10.26 MB / 1.061 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003211/0.3653, allocations: 151.2 kB / 1.061 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.009885/0.3753, allocations: 3.718 MB / 1.064 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006065/0.3814, allocations: 1.854 MB / 1.066 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.007359/0.3888, allocations: 2.136 MB / 1.068 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.6124/1.001, allocations: 7.316 MB / 1.075 GB, free: 21.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01648/1.018, allocations: 9.416 MB / 1.085 GB, free: 19.33 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007877/1.026, allocations: 3.174 MB / 1.088 GB, free: 19.24 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008054/1.034, allocations: 3.485 MB / 1.091 GB, free: 18.82 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.003225/1.037, allocations: 0.6467 MB / 1.092 GB, free: 18.82 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007281/1.044, allocations: 1.771 MB / 1.094 GB, free: 18.82 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.006889/1.051, allocations: 2.545 MB / 1.096 GB, free: 18.65 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01247/1.064, allocations: 2.892 MB / 1.099 GB, free: 17.94 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.02166/1.085, allocations: 10.11 MB / 1.109 GB, free: 17.06 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/1.086, allocations: 0 / 1.109 GB, free: 17.06 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.134e-06/1.086, allocations: 0 / 1.109 GB, free: 17.06 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0004115/1.086, allocations: 3.469 kB / 1.109 GB, free: 17.06 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.02213/1.108, allocations: 4.999 MB / 1.114 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/1.108, allocations: 12 kB / 1.114 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008553/1.117, allocations: 0.9561 MB / 1.115 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/1.127, allocations: 3.041 MB / 1.118 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004298/1.128, allocations: 346.8 kB / 1.118 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00349/1.131, allocations: 468.1 kB / 1.118 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02533/1.157, allocations: 7.656 MB / 1.126 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003804/1.157, allocations: 34.92 kB / 1.126 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002376/1.16, allocations: 202.1 kB / 1.126 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005133/1.16, allocations: 309.1 kB / 1.126 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01518/1.175, allocations: 5.718 MB / 1.132 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05154/1.227, allocations: 34.83 MB / 1.166 GB, free: 6.723 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002975/1.23, allocations: 2.159 MB / 1.168 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/1.232, allocations: 1.269 MB / 1.169 GB, free: 4.574 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/1.232, allocations: 12.72 kB / 1.169 GB, free: 4.57 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/1.232, allocations: 44.59 kB / 1.169 GB, free: 4.523 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=133): time 2.966e-06/1.232, allocations: 0 / 1.169 GB, free: 4.523 MB / 0.8731 GB Notification: Performance of matching and sorting (n=136): time 0.01485/1.247, allocations: 7.094 MB / 1.176 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/1.247, allocations: 72.09 kB / 1.176 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002615/1.249, allocations: 1.484 MB / 1.178 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001747/1.25, allocations: 49.7 kB / 1.178 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001467/1.251, allocations: 2.003 MB / 1.18 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006007/1.252, allocations: 491 kB / 1.18 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006716/1.252, allocations: 347.2 kB / 1.181 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001098/1.252, allocations: 301.1 kB / 1.181 GB, free: 9.789 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001416/1.254, allocations: 0.9174 MB / 1.182 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001826/1.256, allocations: 1.591 MB / 1.183 GB, free: 6.98 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003504/1.259, allocations: 2.739 MB / 1.186 GB, free: 4.02 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.545e-05/1.259, allocations: 4 kB / 1.186 GB, free: 4.016 MB / 0.8887 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006547/1.266, allocations: 3.531 MB / 1.189 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.464e-05/1.266, allocations: 16.06 kB / 1.189 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.728e-05/1.266, allocations: 24 kB / 1.189 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002647/1.269, allocations: 0.9019 MB / 1.19 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/1.27, allocations: 356.3 kB / 1.191 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02284/1.293, allocations: 23.1 MB / 1.213 GB, free: 6.656 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/1.295, allocations: 104 kB / 1.213 GB, free: 6.555 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003983/1.295, allocations: 84 kB / 1.213 GB, free: 6.473 MB / 0.92 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.003589/1.299, allocations: 1.612 MB / 1.215 GB, free: 4.879 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005861/1.3, allocations: 205.5 kB / 1.215 GB, free: 4.676 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005573/1.305, allocations: 2.992 MB / 1.218 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/1.305, allocations: 12 kB / 1.218 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.964e-05/1.305, allocations: 15.94 kB / 1.218 GB, free: 1.637 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/1.305, allocations: 7.969 kB / 1.218 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/1.32, allocations: 7.335 MB / 1.225 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/1.32, allocations: 4 kB / 1.225 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008538/1.321, allocations: 175.1 kB / 1.225 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002477/1.324, allocations: 0.8208 MB / 1.226 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001574/1.324, allocations: 28 kB / 1.226 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02013/1.344, allocations: 21.95 MB / 1.248 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.344, allocations: 8.219 kB / 1.248 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005678/1.35, allocations: 3.018 MB / 1.251 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/1.351, allocations: 462.5 kB / 1.251 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006496/1.352, allocations: 35.88 kB / 1.251 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/1.353, allocations: 71.91 kB / 1.251 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004575/1.354, allocations: 126.2 kB / 1.251 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/1.354, allocations: 36 kB / 1.251 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001907/1.356, allocations: 0.9756 MB / 1.252 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/1.356, allocations: 0 / 1.252 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003742/1.359, allocations: 0.7891 MB / 1.253 GB, free: 11.95 MB / 0.9669 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.0003509/1.36, allocations: 145.9 kB / 1.253 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.006342/1.366, allocations: 4.031 MB / 1.257 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/1.366, allocations: 1 kB / 1.257 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.004058/1.37, allocations: 2.727 MB / 1.26 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004179/1.374, allocations: 0.7366 MB / 1.261 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/1.39, allocations: 7.106 MB / 1.268 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005041/1.395, allocations: 3.114 MB / 1.271 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001574/1.396, allocations: 453.9 kB / 1.271 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000431/1.397, allocations: 115.4 kB / 1.271 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of SimCode: time 9.02e-07/1.397, allocations: 4 kB / 1.271 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of Templates: time 0.06451/1.461, allocations: 35.71 MB / 1.306 GB, free: 6.094 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches