Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001936/0.001936, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.488/1.488, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.587/2.587, allocations: 437.1 MB / 0.7111 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.23 kB / 0.8699 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3174, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04506/0.3625, allocations: 35.13 MB / 1.052 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01921/0.3818, allocations: 9.941 MB / 1.062 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00412/0.3859, allocations: 143.3 kB / 1.062 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01084/0.3969, allocations: 3.813 MB / 1.066 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.007338/0.4042, allocations: 2.032 MB / 1.068 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00632/0.4106, allocations: 1.967 MB / 1.07 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.5091/0.9196, allocations: 7.955 MB / 1.078 GB, free: 20.52 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01575/0.9354, allocations: 9.601 MB / 1.087 GB, free: 18.71 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007854/0.9433, allocations: 3.357 MB / 1.09 GB, free: 18.57 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007783/0.9512, allocations: 3.735 MB / 1.094 GB, free: 18.12 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.003104/0.9543, allocations: 0.6786 MB / 1.094 GB, free: 18.12 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006242/0.9606, allocations: 1.445 MB / 1.096 GB, free: 18.12 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.005304/0.9659, allocations: 2.619 MB / 1.098 GB, free: 17.93 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.008381/0.9743, allocations: 3.098 MB / 1.101 GB, free: 17.18 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01647/0.9908, allocations: 10.32 MB / 1.112 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.9908, allocations: 0 / 1.112 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9908, allocations: 0 / 1.112 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003665/0.9912, allocations: 2.531 kB / 1.112 GB, free: 15.61 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.02167/1.013, allocations: 5.403 MB / 1.117 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/1.013, allocations: 18.02 kB / 1.117 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006815/1.02, allocations: 0.9666 MB / 1.118 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007446/1.027, allocations: 2.996 MB / 1.121 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004396/1.028, allocations: 359.9 kB / 1.121 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002386/1.03, allocations: 466.4 kB / 1.122 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0206/1.051, allocations: 7.903 MB / 1.129 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002982/1.051, allocations: 29.09 kB / 1.129 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002439/1.054, allocations: 206.2 kB / 1.129 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007975/1.054, allocations: 371.8 kB / 1.13 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01321/1.068, allocations: 5.936 MB / 1.136 GB, free: 4.305 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0481/1.116, allocations: 36.2 MB / 1.171 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004088/1.12, allocations: 2.143 MB / 1.173 GB, free: 1.348 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002407/1.122, allocations: 1.479 MB / 1.175 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/1.122, allocations: 20.97 kB / 1.175 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.802e-05/1.122, allocations: 51.88 kB / 1.175 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=157): time 4.418e-06/1.122, allocations: 0 / 1.175 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of matching and sorting (n=160): time 0.01642/1.139, allocations: 7.538 MB / 1.182 GB, free: 8.023 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/1.139, allocations: 72.19 kB / 1.182 GB, free: 7.945 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0032/1.142, allocations: 1.864 MB / 1.184 GB, free: 6.055 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003205/1.143, allocations: 53.7 kB / 1.184 GB, free: 5.996 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001705/1.144, allocations: 2.119 MB / 1.186 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000727/1.145, allocations: 0.5646 MB / 1.186 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008442/1.146, allocations: 403.7 kB / 1.187 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.146, allocations: 301.1 kB / 1.187 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001797/1.148, allocations: 1.058 MB / 1.188 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00238/1.15, allocations: 1.769 MB / 1.19 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004312/1.155, allocations: 3.044 MB / 1.193 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-05/1.155, allocations: 8 kB / 1.193 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007366/1.162, allocations: 3.925 MB / 1.197 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.514e-05/1.162, allocations: 15.94 kB / 1.197 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.215e-05/1.162, allocations: 24 kB / 1.197 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002656/1.165, allocations: 0.9358 MB / 1.198 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/1.167, allocations: 429.6 kB / 1.198 GB, free: 6.992 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02468/1.191, allocations: 22.78 MB / 1.22 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003092/1.194, allocations: 122.3 kB / 1.22 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007152/1.195, allocations: 96.06 kB / 1.221 GB, free: 14.45 MB / 0.9356 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.004159/1.199, allocations: 1.65 MB / 1.222 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007957/1.2, allocations: 257 kB / 1.222 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006506/1.207, allocations: 3.26 MB / 1.226 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/1.207, allocations: 20 kB / 1.226 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.43e-05/1.207, allocations: 8 kB / 1.226 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/1.207, allocations: 7.969 kB / 1.226 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01535/1.222, allocations: 7.553 MB / 1.233 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/1.222, allocations: 7.984 kB / 1.233 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009883/1.223, allocations: 217.4 kB / 1.233 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002516/1.226, allocations: 0.8886 MB / 1.234 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/1.226, allocations: 32 kB / 1.234 GB, free: 484 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0234/1.249, allocations: 22.75 MB / 1.256 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/1.249, allocations: 6.062 kB / 1.256 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006279/1.256, allocations: 3.38 MB / 1.26 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001909/1.258, allocations: 0.5278 MB / 1.26 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004551/1.258, allocations: 32 kB / 1.26 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/1.259, allocations: 99.81 kB / 1.26 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000518/1.26, allocations: 137.4 kB / 1.26 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/1.26, allocations: 48 kB / 1.26 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00222/1.262, allocations: 1.229 MB / 1.262 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.1e-07/1.262, allocations: 0 / 1.262 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003749/1.266, allocations: 0.9023 MB / 1.263 GB, free: 1.699 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003602/1.266, allocations: 161.2 kB / 1.263 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.008963/1.275, allocations: 5.205 MB / 1.268 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/1.275, allocations: 4.062 kB / 1.268 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004747/1.28, allocations: 2.985 MB / 1.271 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004349/1.284, allocations: 0.8133 MB / 1.271 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.017/1.301, allocations: 8.333 MB / 1.28 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004482/1.306, allocations: 3.275 MB / 1.283 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008209/1.307, allocations: 162.3 kB / 1.283 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.032e-06/1.307, allocations: 0 / 1.283 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.9014/2.208, allocations: 339.6 MB / 1.615 GB, free: 419.2 MB / 1.248 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches