Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 107.8 kB / 16.41 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.00116/0.00116, allocations: 185.7 kB / 17.34 MB, free: 5.762 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.449/1.449, allocations: 222.9 MB / 241 MB, free: 15.17 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.578/2.578, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 64.11 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129/1.131, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02331/1.154, allocations: 20.25 MB / 1.187 GB, free: 15.55 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01147/1.166, allocations: 6.441 MB / 1.193 GB, free: 9.09 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002385/1.168, allocations: 87.56 kB / 1.193 GB, free: 9.004 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.005622/1.174, allocations: 2.244 MB / 1.196 GB, free: 6.754 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003904/1.178, allocations: 1.244 MB / 1.197 GB, free: 5.504 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003561/1.181, allocations: 1.286 MB / 1.198 GB, free: 4.219 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006015/1.187, allocations: 4.869 MB / 1.203 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007954/1.195, allocations: 5.579 MB / 1.208 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003994/1.199, allocations: 2.127 MB / 1.21 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004266/1.203, allocations: 2.333 MB / 1.213 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001393/1.205, allocations: 432 kB / 1.213 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003093/1.208, allocations: 1.006 MB / 1.214 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.003024/1.211, allocations: 1.665 MB / 1.216 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.004567/1.216, allocations: 1.918 MB / 1.218 GB, free: 200 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01029/1.226, allocations: 6.519 MB / 1.224 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/1.226, allocations: 0 / 1.224 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.014e-06/1.226, allocations: 0 / 1.224 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002672/1.226, allocations: 0 / 1.224 GB, free: 9.66 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01108/1.237, allocations: 3.46 MB / 1.227 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/1.237, allocations: 12.91 kB / 1.227 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004209/1.242, allocations: 0.641 MB / 1.228 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00521/1.247, allocations: 2.033 MB / 1.23 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/1.247, allocations: 226.3 kB / 1.23 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001039/1.248, allocations: 292.3 kB / 1.23 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009174/1.257, allocations: 4.886 MB / 1.235 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.345e-05/1.257, allocations: 15.94 kB / 1.235 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003019/1.258, allocations: 120 kB / 1.235 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004351/1.258, allocations: 237.7 kB / 1.236 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005652/1.264, allocations: 3.754 MB / 1.239 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02351/1.287, allocations: 21.41 MB / 1.26 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/1.289, allocations: 1.306 MB / 1.261 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/1.291, allocations: 1.053 MB / 1.262 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.002e-05/1.291, allocations: 13 kB / 1.262 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/1.291, allocations: 47.56 kB / 1.263 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=107): time 3.557e-06/1.291, allocations: 0 / 1.263 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138): time 0.02458/1.315, allocations: 8.668 MB / 1.271 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/1.315, allocations: 64.72 kB / 1.271 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/1.317, allocations: 1.13 MB / 1.272 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001418/1.317, allocations: 49.7 kB / 1.272 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008205/1.318, allocations: 1.304 MB / 1.273 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004466/1.319, allocations: 481.2 kB / 1.274 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005015/1.319, allocations: 291.3 kB / 1.274 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.331e-05/1.319, allocations: 309.1 kB / 1.274 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/1.321, allocations: 0.9096 MB / 1.275 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/1.322, allocations: 1.33 MB / 1.277 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002959/1.325, allocations: 2.422 MB / 1.279 GB, free: 14.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/1.325, allocations: 4 kB / 1.279 GB, free: 14.42 MB / 1.014 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00603/1.331, allocations: 3.464 MB / 1.282 GB, free: 10.94 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/1.331, allocations: 16.25 kB / 1.282 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/1.331, allocations: 12 kB / 1.282 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003209/1.334, allocations: 1.176 MB / 1.284 GB, free: 9.727 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009342/1.335, allocations: 259.6 kB / 1.284 GB, free: 9.473 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0171/1.353, allocations: 13.83 MB / 1.297 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/1.354, allocations: 91.97 kB / 1.297 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002414/1.354, allocations: 67.88 kB / 1.298 GB, free: 11.07 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001996/1.356, allocations: 1.118 MB / 1.299 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004322/1.357, allocations: 158.1 kB / 1.299 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005951/1.363, allocations: 3.173 MB / 1.302 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/1.363, allocations: 3.984 kB / 1.302 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.363, allocations: 0 / 1.302 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/1.364, allocations: 435 kB / 1.302 GB, free: 6.141 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000403/1.364, allocations: 24.28 kB / 1.302 GB, free: 6.117 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/1.365, allocations: 71.91 kB / 1.302 GB, free: 6.047 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003302/1.366, allocations: 145 kB / 1.302 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007411/1.373, allocations: 3.511 MB / 1.306 GB, free: 2.375 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004654/1.378, allocations: 3.327 MB / 1.309 GB, free: 15.04 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001256/1.379, allocations: 1.033 MB / 1.31 GB, free: 14 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001328/1.38, allocations: 0.7671 MB / 1.311 GB, free: 13.23 MB / 1.045 GB Notification: Performance of Backend: time 3.81e-07/1.38, allocations: 0 / 1.311 GB, free: 13.23 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005895/1.386, allocations: 2.726 MB / 1.314 GB, free: 10.46 MB / 1.045 GB Notification: Performance of SimCode: time 0.01066/1.397, allocations: 5.994 MB / 1.319 GB, free: 4.441 MB / 1.045 GB Notification: Performance of Templates: time 0.06052/1.457, allocations: 36.35 MB / 1.355 GB, free: 0.4922 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches