Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_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.ACSimpleGrid_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E.vPhase.1..S.1.|E.vPhase.1..S.2.|E.vPhase.2..S.1.|E.vPhase.2..S.2.|E.vPhase.3..S.1.|E.vPhase.3..S.2.|load.terminal.phase.4..v.1.|load.terminal.phase.4..v.2.|load.terminal.phase.4..i.1.|load.terminal.phase.4..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E.vPhase.1..S.1.|E.vPhase.1..S.2.|E.vPhase.2..S.1.|E.vPhase.2..S.2.|E.vPhase.3..S.1.|E.vPhase.3..S.2.|load.terminal.phase.4..v.1.|load.terminal.phase.4..v.2.|load.terminal.phase.4..i.1.|load.terminal.phase.4..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 114.6 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.001753/0.001753, allocations: 182.6 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.1 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.496/2.496, allocations: 437 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001588, allocations: 63.91 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069/1.071, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01648/1.087, allocations: 11.97 MB / 1.179 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01082/1.098, allocations: 5.712 MB / 1.185 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/1.1, allocations: 35.88 kB / 1.185 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003351/1.103, allocations: 1.051 MB / 1.186 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002371/1.105, allocations: 0.6802 MB / 1.186 GB, free: 328 kB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002943/1.108, allocations: 0.9683 MB / 1.187 GB, free: 15.35 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003737/1.112, allocations: 2.59 MB / 1.19 GB, free: 12.76 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005096/1.117, allocations: 3.798 MB / 1.193 GB, free: 8.926 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002493/1.12, allocations: 1.208 MB / 1.195 GB, free: 7.715 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002846/1.123, allocations: 1.316 MB / 1.196 GB, free: 6.395 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001018/1.124, allocations: 259.9 kB / 1.196 GB, free: 6.141 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00241/1.126, allocations: 0.5696 MB / 1.197 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.002186/1.128, allocations: 0.9357 MB / 1.198 GB, free: 4.633 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00338/1.132, allocations: 1.062 MB / 1.199 GB, free: 3.566 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.007114/1.139, allocations: 3.868 MB / 1.202 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/1.139, allocations: 0 / 1.202 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.843e-06/1.139, allocations: 0 / 1.202 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001445/1.139, allocations: 0 / 1.202 GB, free: 15.69 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.007609/1.147, allocations: 2.129 MB / 1.205 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/1.147, allocations: 12.86 kB / 1.205 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004222/1.151, allocations: 0.7527 MB / 1.205 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003767/1.155, allocations: 1.22 MB / 1.207 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/1.155, allocations: 123.6 kB / 1.207 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009053/1.156, allocations: 160.1 kB / 1.207 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008092/1.164, allocations: 2.96 MB / 1.21 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.297e-05/1.164, allocations: 11.94 kB / 1.21 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005213/1.165, allocations: 64 kB / 1.21 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004381/1.165, allocations: 167.1 kB / 1.21 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005898/1.171, allocations: 2.518 MB / 1.212 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01746/1.188, allocations: 10.75 MB / 1.223 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/1.19, allocations: 0.9481 MB / 1.224 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008902/1.191, allocations: 0.5129 MB / 1.224 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000159/1.191, allocations: 89.42 kB / 1.224 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/1.191, allocations: 42.88 kB / 1.224 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=46): time 3.346e-06/1.191, allocations: 0 / 1.224 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of matching and sorting (n=70): time 0.03075/1.222, allocations: 8.109 MB / 1.232 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/1.222, allocations: 63.91 kB / 1.232 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/1.224, allocations: 0.9299 MB / 1.233 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001749/1.224, allocations: 41.7 kB / 1.233 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007711/1.225, allocations: 0.7957 MB / 1.234 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003877/1.225, allocations: 261.8 kB / 1.234 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005331/1.226, allocations: 214.8 kB / 1.235 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002301/1.226, allocations: 398.8 kB / 1.235 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/1.228, allocations: 0.8062 MB / 1.236 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/1.23, allocations: 1.159 MB / 1.237 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003329/1.233, allocations: 1.989 MB / 1.239 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.539e-05/1.233, allocations: 4 kB / 1.239 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01047/1.243, allocations: 3.667 MB / 1.242 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.509e-05/1.243, allocations: 8 kB / 1.242 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.465e-05/1.244, allocations: 12.38 kB / 1.242 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007694/1.251, allocations: 1.901 MB / 1.244 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/1.252, allocations: 231.6 kB / 1.245 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01736/1.27, allocations: 10.6 MB / 1.255 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/1.272, allocations: 179.7 kB / 1.255 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002201/1.272, allocations: 55.98 kB / 1.255 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002788/1.275, allocations: 1.521 MB / 1.257 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001756/1.276, allocations: 1.12 MB / 1.258 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003161/1.28, allocations: 1.943 MB / 1.26 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.236e-05/1.28, allocations: 3.938 kB / 1.26 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.008622/1.288, allocations: 3.108 MB / 1.263 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/1.288, allocations: 8 kB / 1.263 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.53e-05/1.288, allocations: 15.94 kB / 1.263 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005103/1.293, allocations: 1.203 MB / 1.264 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/1.295, allocations: 283.5 kB / 1.264 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009634/1.305, allocations: 5.852 MB / 1.27 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/1.306, allocations: 171.7 kB / 1.27 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002201/1.307, allocations: 47.98 kB / 1.27 GB, free: 8.238 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005134/1.307, allocations: 246.1 kB / 1.27 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004088/1.307, allocations: 87.48 kB / 1.27 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009712/1.317, allocations: 3.175 MB / 1.273 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/1.317, allocations: 3.984 kB / 1.273 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.317, allocations: 0 / 1.273 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007455/1.318, allocations: 324.4 kB / 1.274 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003583/1.318, allocations: 15.95 kB / 1.274 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/1.32, allocations: 139.7 kB / 1.274 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003541/1.32, allocations: 72.53 kB / 1.274 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00769/1.328, allocations: 2.824 MB / 1.277 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00408/1.332, allocations: 2.384 MB / 1.279 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001113/1.333, allocations: 0.7623 MB / 1.28 GB, free: 14.14 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001477/1.334, allocations: 0.6785 MB / 1.28 GB, free: 13.47 MB / 1.014 GB Notification: Performance of Backend: time 4.71e-07/1.335, allocations: 0 / 1.28 GB, free: 13.47 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.007713/1.342, allocations: 3.178 MB / 1.284 GB, free: 10.24 MB / 1.014 GB Notification: Performance of SimCode: time 0.007765/1.35, allocations: 3.771 MB / 1.287 GB, free: 6.43 MB / 1.014 GB Notification: Performance of Templates: time 0.05798/1.408, allocations: 35.96 MB / 1.322 GB, free: 2.684 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches