Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009873/0.0009874, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001605/0.001606, allocations: 181.4 kB / 16.92 MB, free: 6.918 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.47/1.47, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.553/2.553, allocations: 437.8 MB / 0.7128 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003533, allocations: 8 kB / 0.8735 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6512/0.6516, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01637/0.668, allocations: 14.14 MB / 1.038 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01489/0.683, allocations: 10.23 MB / 1.048 GB, free: 7.418 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.6846, allocations: 47.69 kB / 1.048 GB, free: 7.371 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.6858, allocations: 291.7 kB / 1.048 GB, free: 7.086 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005237/0.691, allocations: 1.612 MB / 1.049 GB, free: 5.477 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.6929, allocations: 0.6822 MB / 1.05 GB, free: 4.797 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004356/0.6973, allocations: 3.405 MB / 1.053 GB, free: 1.379 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003819/0.7012, allocations: 1.996 MB / 1.055 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002446/0.7036, allocations: 1.324 MB / 1.057 GB, free: 14 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002174/0.7058, allocations: 1.078 MB / 1.058 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0003865/0.7062, allocations: 79.92 kB / 1.058 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001964/0.7082, allocations: 0.8577 MB / 1.059 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0007541/0.709, allocations: 0.4944 MB / 1.059 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001507/0.7105, allocations: 0.8563 MB / 1.06 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002695/0.7132, allocations: 2.147 MB / 1.062 GB, free: 8.469 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.7132, allocations: 0 / 1.062 GB, free: 8.469 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7132, allocations: 0 / 1.062 GB, free: 8.469 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.349e-05/0.7133, allocations: 4 kB / 1.062 GB, free: 8.465 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003813/0.7171, allocations: 1.828 MB / 1.064 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.7172, allocations: 12.02 kB / 1.064 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01246/0.7296, allocations: 2.183 MB / 1.066 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002836/0.7325, allocations: 1.213 MB / 1.067 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.7326, allocations: 82.69 kB / 1.067 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005009/0.7332, allocations: 120.1 kB / 1.067 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006848/0.74, allocations: 2.698 MB / 1.07 GB, free: 68 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.976e-05/0.7401, allocations: 7.906 kB / 1.07 GB, free: 60 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002484/0.7404, allocations: 59.92 kB / 1.07 GB, free: 0 / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007038/0.7411, allocations: 194.1 kB / 1.07 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008429/0.7495, allocations: 2.842 MB / 1.073 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01643/0.766, allocations: 10.56 MB / 1.083 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007136/0.7732, allocations: 2.387 MB / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003467/0.7767, allocations: 1.296 MB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.324e-05/0.7768, allocations: 13 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.7769, allocations: 43.56 kB / 1.087 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=89): time 2.624e-06/0.7769, allocations: 0 / 1.087 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=153): time 0.063/0.8399, allocations: 16.53 MB / 1.103 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.84, allocations: 68.72 kB / 1.103 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/0.8418, allocations: 1.172 MB / 1.104 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002694/0.842, allocations: 53.7 kB / 1.104 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005874/0.8426, allocations: 0.7359 MB / 1.105 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006397/0.8433, allocations: 0.5237 MB / 1.106 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002839/0.8436, allocations: 121.6 kB / 1.106 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.82e-05/0.8437, allocations: 305.1 kB / 1.106 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003856/0.8475, allocations: 1.53 MB / 1.107 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003994/0.8516, allocations: 1.804 MB / 1.109 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007967/0.8596, allocations: 3.408 MB / 1.113 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.8596, allocations: 7.938 kB / 1.113 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.0143/0.8739, allocations: 5.312 MB / 1.118 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/0.874, allocations: 10.62 kB / 1.118 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.874, allocations: 8 kB / 1.118 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007155/0.8812, allocations: 1.877 MB / 1.12 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002084/0.8833, allocations: 435.2 kB / 1.12 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0279/0.9112, allocations: 22.19 MB / 1.142 GB, free: 4.438 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003283/0.9145, allocations: 323.5 kB / 1.142 GB, free: 4.121 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003676/0.9149, allocations: 67.95 kB / 1.142 GB, free: 4.055 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001265/0.9162, allocations: 466.2 kB / 1.143 GB, free: 3.59 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005092/0.9167, allocations: 173.9 kB / 1.143 GB, free: 3.418 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0144/0.9311, allocations: 5.37 MB / 1.148 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.142e-05/0.9312, allocations: 19.94 kB / 1.148 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.177e-05/0.9312, allocations: 20 kB / 1.148 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.012e-05/0.9313, allocations: 7.969 kB / 1.148 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01743/0.9487, allocations: 7.477 MB / 1.155 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/0.9488, allocations: 0 / 1.155 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001826/0.9506, allocations: 367.7 kB / 1.156 GB, free: 5.996 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006325/0.9569, allocations: 1.703 MB / 1.157 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002609/0.9572, allocations: 47.91 kB / 1.157 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02695/0.9842, allocations: 21.38 MB / 1.178 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.9842, allocations: 8 kB / 1.178 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01334/0.9976, allocations: 4.932 MB / 1.183 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/0.9988, allocations: 498.8 kB / 1.184 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005164/0.9994, allocations: 28 kB / 1.184 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00258/1.002, allocations: 331.5 kB / 1.184 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006245/1.003, allocations: 149 kB / 1.184 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002055/1.003, allocations: 55.91 kB / 1.184 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001347/1.004, allocations: 0.7938 MB / 1.185 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/1.004, allocations: 0 / 1.185 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002595/1.007, allocations: 0.6602 MB / 1.185 GB, free: 6.242 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004434/1.007, allocations: 143.2 kB / 1.186 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01195/1.019, allocations: 5.163 MB / 1.191 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.019, allocations: 4 kB / 1.191 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.007795/1.027, allocations: 3.363 MB / 1.194 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003547/1.031, allocations: 0.5161 MB / 1.194 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/1.041, allocations: 5.166 MB / 1.199 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/1.042, allocations: 1.564 MB / 1.201 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006814/1.043, allocations: 123.3 kB / 1.201 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of SimCode: time 7.02e-07/1.043, allocations: 0 / 1.201 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of Templates: time 0.5919/1.635, allocations: 85.49 MB / 1.285 GB, free: 204.3 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches