Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_N,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 112.5 kB / 16.42 MB, free: 6.453 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.001721/0.001721, allocations: 185.7 kB / 17.35 MB, free: 5.734 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.421/1.421, 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 12.0.0-master/package.mo): time 2.642/2.642, allocations: 472.7 MB / 0.746 GB, free: 440 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 67.89 kB / 1.07 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8892/0.8907, allocations: 159.9 MB / 1.226 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04504/0.9358, allocations: 41.18 MB / 1.267 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0264/0.9622, allocations: 15.09 MB / 1.281 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005393/0.9677, allocations: 187.1 kB / 1.281 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01187/0.9796, allocations: 4.474 MB / 1.286 GB, free: 344 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009514/0.9891, allocations: 2.927 MB / 1.289 GB, free: 13.39 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.008569/0.9977, allocations: 3.152 MB / 1.292 GB, free: 10.24 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01527/1.013, allocations: 11.43 MB / 1.303 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01926/1.032, allocations: 12.46 MB / 1.315 GB, free: 2.184 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008305/1.041, allocations: 4.911 MB / 1.32 GB, free: 13.26 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009579/1.05, allocations: 5.386 MB / 1.325 GB, free: 7.855 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.003273/1.054, allocations: 0.9492 MB / 1.326 GB, free: 6.906 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006941/1.06, allocations: 2.036 MB / 1.328 GB, free: 4.867 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.006717/1.067, allocations: 3.699 MB / 1.332 GB, free: 1.16 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.009653/1.077, allocations: 4.295 MB / 1.336 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01931/1.096, allocations: 14.31 MB / 1.35 GB, free: 14.49 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/1.096, allocations: 0 / 1.35 GB, free: 14.49 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.244e-06/1.096, allocations: 0 / 1.35 GB, free: 14.49 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0005387/1.097, allocations: 0 / 1.35 GB, free: 14.49 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02328/1.12, allocations: 7.798 MB / 1.357 GB, free: 6.605 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/1.12, allocations: 12.03 kB / 1.358 GB, free: 6.594 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01185/1.132, allocations: 1.55 MB / 1.359 GB, free: 5.039 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01246/1.145, allocations: 4.469 MB / 1.363 GB, free: 0.4961 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004497/1.145, allocations: 456.5 kB / 1.364 GB, free: 48 kB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002611/1.148, allocations: 0.594 MB / 1.364 GB, free: 15.45 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02635/1.174, allocations: 10.69 MB / 1.375 GB, free: 4.383 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003573/1.174, allocations: 31.78 kB / 1.375 GB, free: 4.352 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002376/1.177, allocations: 263.9 kB / 1.375 GB, free: 4.094 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00276/1.18, allocations: 0.7729 MB / 1.376 GB, free: 3.316 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01871/1.198, allocations: 8.565 MB / 1.384 GB, free: 10.73 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06781/1.266, allocations: 46.6 MB / 1.43 GB, free: 8.375 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006815/1.273, allocations: 4.317 MB / 1.434 GB, free: 4.047 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006239/1.279, allocations: 3.716 MB / 1.438 GB, free: 336 kB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000502/1.28, allocations: 34.78 kB / 1.438 GB, free: 300 kB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.439e-05/1.28, allocations: 77.33 kB / 1.438 GB, free: 212 kB / 1.154 GB Notification: Performance of pre-optimization done (n=353): time 6.402e-06/1.28, allocations: 0 / 1.438 GB, free: 212 kB / 1.154 GB Notification: Performance of matching and sorting (n=578): time 0.4929/1.773, allocations: 122.9 MB / 1.558 GB, free: 4.453 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/1.773, allocations: 111.9 kB / 1.558 GB, free: 4.328 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00492/1.778, allocations: 2.681 MB / 1.56 GB, free: 1.648 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001124/1.779, allocations: 121.6 kB / 1.561 GB, free: 1.523 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.68/2.459, allocations: 2.75 MB / 1.563 GB, free: 310.3 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.003286/2.462, allocations: 2.05 MB / 1.565 GB, free: 309.5 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004504/2.467, allocations: 0.9272 MB / 1.566 GB, free: 309.5 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.622e-05/2.467, allocations: 301.7 kB / 1.566 GB, free: 309.2 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01051/2.478, allocations: 4.081 MB / 1.57 GB, free: 307.6 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009311/2.487, allocations: 5.013 MB / 1.575 GB, free: 304.9 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0138/2.501, allocations: 9.852 MB / 1.585 GB, free: 299.7 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.874e-05/2.501, allocations: 8.938 kB / 1.585 GB, free: 299.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03649/2.537, allocations: 17.02 MB / 1.602 GB, free: 293.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.335e-05/2.537, allocations: 15.62 kB / 1.602 GB, free: 293.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.035e-05/2.537, allocations: 19.38 kB / 1.602 GB, free: 293.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02896/2.566, allocations: 9.086 MB / 1.61 GB, free: 290.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/2.569, allocations: 0.5248 MB / 1.611 GB, free: 289.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08873/2.658, allocations: 77.03 MB / 1.686 GB, free: 212.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005047/2.663, allocations: 283.8 kB / 1.686 GB, free: 212.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001073/2.664, allocations: 188 kB / 1.687 GB, free: 212.2 MB / 1.279 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004208/2.668, allocations: 2.419 MB / 1.689 GB, free: 209.8 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001306/2.669, allocations: 496.9 kB / 1.69 GB, free: 209.3 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03476/2.704, allocations: 16.83 MB / 1.706 GB, free: 192.3 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001023/2.704, allocations: 27.89 kB / 1.706 GB, free: 192.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/2.704, allocations: 128 / 1.706 GB, free: 192.3 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003388/2.708, allocations: 1.454 MB / 1.707 GB, free: 190.8 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001685/2.709, allocations: 95.98 kB / 1.707 GB, free: 190.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003907/2.713, allocations: 247.7 kB / 1.708 GB, free: 190.5 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001842/2.715, allocations: 0.7218 MB / 1.708 GB, free: 189.7 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04856/2.764, allocations: 17.77 MB / 1.726 GB, free: 172 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03005/2.794, allocations: 14.67 MB / 1.74 GB, free: 157.2 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005848/2.8, allocations: 4.919 MB / 1.745 GB, free: 152.3 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002691/2.802, allocations: 1.78 MB / 1.747 GB, free: 150.5 MB / 1.279 GB Notification: Performance of Backend: time 2.605e-06/2.802, allocations: 0 / 1.747 GB, free: 150.5 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02604/2.829, allocations: 11.87 MB / 1.758 GB, free: 138.6 MB / 1.279 GB Notification: Performance of SimCode: time 0.03339/2.862, allocations: 18.12 MB / 1.776 GB, free: 120.5 MB / 1.279 GB Notification: Performance of Templates: time 0.2053/3.067, allocations: 140.6 MB / 1.913 GB, free: 13.27 MB / 1.311 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches