Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_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_10_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_10_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.001271/0.001271, allocations: 112.6 kB / 16.42 MB, free: 6.469 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.001163/0.001163, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.09 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.535/2.535, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 60.12 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.028, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04519/1.073, allocations: 41.18 MB / 1.208 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02852/1.102, allocations: 15.08 MB / 1.222 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006337/1.108, allocations: 191 kB / 1.222 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.01243/1.121, allocations: 4.47 MB / 1.227 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01053/1.131, allocations: 2.931 MB / 1.23 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.01043/1.142, allocations: 3.153 MB / 1.233 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01779/1.159, allocations: 11.43 MB / 1.244 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02189/1.181, allocations: 12.48 MB / 1.256 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01045/1.192, allocations: 4.904 MB / 1.261 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01052/1.202, allocations: 5.39 MB / 1.266 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.004074/1.206, allocations: 0.9492 MB / 1.267 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007966/1.214, allocations: 2.04 MB / 1.269 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.007747/1.222, allocations: 3.688 MB / 1.273 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01788/1.24, allocations: 4.303 MB / 1.277 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02557/1.266, allocations: 14.31 MB / 1.291 GB, free: 4.84 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/1.266, allocations: 4 kB / 1.291 GB, free: 4.836 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.437e-06/1.266, allocations: 0 / 1.291 GB, free: 4.836 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0005576/1.266, allocations: 4 kB / 1.291 GB, free: 4.832 MB / 1.014 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.02841/1.295, allocations: 7.794 MB / 1.298 GB, free: 12.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 7.307e-05/1.295, allocations: 8.922 kB / 1.298 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01266/1.308, allocations: 1.55 MB / 1.3 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01255/1.32, allocations: 4.473 MB / 1.304 GB, free: 6.836 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005932/1.321, allocations: 452.5 kB / 1.305 GB, free: 6.391 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003509/1.324, allocations: 0.5979 MB / 1.305 GB, free: 5.793 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03105/1.355, allocations: 10.69 MB / 1.316 GB, free: 10.73 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004549/1.356, allocations: 23.83 kB / 1.316 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002894/1.359, allocations: 267.9 kB / 1.316 GB, free: 10.45 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003259/1.362, allocations: 0.7768 MB / 1.317 GB, free: 9.664 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02138/1.383, allocations: 8.561 MB / 1.325 GB, free: 1.082 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0821/1.466, allocations: 46.61 MB / 1.371 GB, free: 14.72 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007099/1.473, allocations: 4.314 MB / 1.375 GB, free: 10.39 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006395/1.479, allocations: 3.724 MB / 1.379 GB, free: 6.664 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005459/1.48, allocations: 34.78 kB / 1.379 GB, free: 6.629 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.448e-05/1.48, allocations: 73.34 kB / 1.379 GB, free: 6.547 MB / 1.107 GB Notification: Performance of pre-optimization done (n=353): time 8.416e-06/1.48, allocations: 0 / 1.379 GB, free: 6.547 MB / 1.107 GB Notification: Performance of matching and sorting (n=578): time 0.5563/2.036, allocations: 122.9 MB / 1.499 GB, free: 10.8 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/2.036, allocations: 107.9 kB / 1.499 GB, free: 10.68 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005465/2.042, allocations: 2.685 MB / 1.501 GB, free: 7.996 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.001442/2.043, allocations: 121.7 kB / 1.502 GB, free: 7.871 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.002347/2.046, allocations: 2.749 MB / 1.504 GB, free: 5.102 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.00306/2.049, allocations: 2.053 MB / 1.506 GB, free: 3.031 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003725/2.053, allocations: 0.929 MB / 1.507 GB, free: 2.094 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001188/2.053, allocations: 301.1 kB / 1.507 GB, free: 1.797 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006998/2.06, allocations: 4.083 MB / 1.511 GB, free: 13.71 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008375/2.068, allocations: 5.019 MB / 1.516 GB, free: 8.359 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01758/2.086, allocations: 9.844 MB / 1.526 GB, free: 14.14 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.818e-05/2.086, allocations: 8 kB / 1.526 GB, free: 14.13 MB / 1.264 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04497/2.131, allocations: 17.02 MB / 1.543 GB, free: 12.98 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.816e-05/2.131, allocations: 20.25 kB / 1.543 GB, free: 12.96 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-05/2.131, allocations: 20 kB / 1.543 GB, free: 12.94 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03633/2.167, allocations: 9.091 MB / 1.551 GB, free: 3.809 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002801/2.17, allocations: 0.5187 MB / 1.552 GB, free: 3.289 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8509/3.021, allocations: 77.03 MB / 1.627 GB, free: 310.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005601/3.027, allocations: 281 kB / 1.627 GB, free: 310.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009146/3.028, allocations: 192 kB / 1.628 GB, free: 310.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.00432/3.032, allocations: 2.42 MB / 1.63 GB, free: 307.9 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001195/3.033, allocations: 496.8 kB / 1.63 GB, free: 307.6 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03482/3.068, allocations: 16.82 MB / 1.647 GB, free: 290.6 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001266/3.068, allocations: 31.89 kB / 1.647 GB, free: 290.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/3.068, allocations: 4 kB / 1.647 GB, free: 290.6 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003408/3.072, allocations: 1.447 MB / 1.648 GB, free: 289.1 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001237/3.073, allocations: 99.92 kB / 1.648 GB, free: 289 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003926/3.077, allocations: 251.7 kB / 1.649 GB, free: 288.8 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00159/3.078, allocations: 0.7218 MB / 1.649 GB, free: 288.1 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03783/3.116, allocations: 17.76 MB / 1.667 GB, free: 270.4 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01701/3.133, allocations: 14.68 MB / 1.681 GB, free: 255.6 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005346/3.139, allocations: 4.911 MB / 1.686 GB, free: 250.6 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002548/3.141, allocations: 1.776 MB / 1.688 GB, free: 248.8 MB / 1.279 GB Notification: Performance of Backend: time 4.31e-07/3.141, allocations: 0 / 1.688 GB, free: 248.8 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02221/3.164, allocations: 11.86 MB / 1.699 GB, free: 236.9 MB / 1.279 GB Notification: Performance of SimCode: time 0.02493/3.188, allocations: 18.12 MB / 1.717 GB, free: 218.8 MB / 1.279 GB Notification: Performance of Templates: time 0.1802/3.369, allocations: 140.6 MB / 1.854 GB, free: 79.56 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches