Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,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_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002606/0.002606, allocations: 190.5 kB / 16.25 MB, free: 6.629 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.567/1.567, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.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.846/2.846, allocations: 437 MB / 0.7101 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00263/0.00263, allocations: 63.89 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8569/0.8596, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04801/0.9076, allocations: 37.61 MB / 1.054 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0221/0.9298, allocations: 10.89 MB / 1.064 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004564/0.9344, allocations: 147.2 kB / 1.064 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.012/0.9464, allocations: 4.09 MB / 1.068 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.008079/0.9545, allocations: 2.045 MB / 1.07 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006637/0.9612, allocations: 1.977 MB / 1.072 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01375/0.975, allocations: 9.307 MB / 1.081 GB, free: 480 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02423/0.9992, allocations: 13.57 MB / 1.095 GB, free: 2.781 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007785/1.007, allocations: 4.062 MB / 1.099 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008621/1.016, allocations: 4.709 MB / 1.103 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.003216/1.019, allocations: 0.8242 MB / 1.104 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00538/1.024, allocations: 1.588 MB / 1.106 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.006689/1.031, allocations: 3.15 MB / 1.109 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0102/1.041, allocations: 3.649 MB / 1.112 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01732/1.059, allocations: 12.31 MB / 1.124 GB, free: 4.406 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/1.059, allocations: 4 kB / 1.124 GB, free: 4.402 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.733e-06/1.059, allocations: 0 / 1.124 GB, free: 4.402 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0004884/1.059, allocations: 0 / 1.124 GB, free: 4.402 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01858/1.078, allocations: 6.311 MB / 1.13 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/1.078, allocations: 8.031 kB / 1.13 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006394/1.084, allocations: 1.075 MB / 1.131 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007855/1.092, allocations: 3.427 MB / 1.135 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004903/1.093, allocations: 423.8 kB / 1.135 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002494/1.095, allocations: 0.5433 MB / 1.136 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02382/1.119, allocations: 9.374 MB / 1.145 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001623/1.119, allocations: 27.7 kB / 1.145 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001127/1.12, allocations: 248 kB / 1.145 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006762/1.121, allocations: 422.9 kB / 1.145 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01408/1.135, allocations: 7.12 MB / 1.152 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05663/1.192, allocations: 41.31 MB / 1.193 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006305/1.198, allocations: 3.096 MB / 1.196 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004816/1.203, allocations: 2.137 MB / 1.198 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001639/1.203, allocations: 29.94 kB / 1.198 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.128e-05/1.203, allocations: 60.56 kB / 1.198 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=209): time 4.939e-06/1.203, allocations: 0 / 1.198 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=212): time 0.03497/1.238, allocations: 10.55 MB / 1.208 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.524e-05/1.238, allocations: 85.22 kB / 1.208 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004892/1.243, allocations: 2.005 MB / 1.21 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0004985/1.244, allocations: 65.7 kB / 1.21 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.002438/1.246, allocations: 2.404 MB / 1.213 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001287/1.248, allocations: 0.7357 MB / 1.213 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00151/1.249, allocations: 473.2 kB / 1.214 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001477/1.249, allocations: 309.1 kB / 1.214 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002362/1.252, allocations: 1.364 MB / 1.216 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003054/1.255, allocations: 2.104 MB / 1.218 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005702/1.261, allocations: 3.77 MB / 1.221 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-05/1.261, allocations: 8 kB / 1.221 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009813/1.27, allocations: 5.069 MB / 1.226 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.251e-05/1.27, allocations: 16 kB / 1.226 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.153e-05/1.27, allocations: 24 kB / 1.226 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004065/1.275, allocations: 1.595 MB / 1.228 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002041/1.277, allocations: 455.2 kB / 1.228 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02736/1.304, allocations: 18.59 MB / 1.246 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002995/1.307, allocations: 151.9 kB / 1.247 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006047/1.308, allocations: 104 kB / 1.247 GB, free: 1.328 MB / 0.9981 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.6196/1.927, allocations: 1.935 MB / 1.249 GB, free: 209.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008146/1.928, allocations: 292 kB / 1.249 GB, free: 209.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008284/1.936, allocations: 4.446 MB / 1.253 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-05/1.936, allocations: 24.31 kB / 1.253 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.606e-05/1.937, allocations: 17 kB / 1.253 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.931e-05/1.937, allocations: 13.03 kB / 1.253 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02222/1.959, allocations: 9.674 MB / 1.263 GB, free: 205.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/1.959, allocations: 4.656 kB / 1.263 GB, free: 205.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/1.96, allocations: 237.6 kB / 1.263 GB, free: 205.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004027/1.964, allocations: 1.44 MB / 1.264 GB, free: 205.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003659/1.965, allocations: 37.19 kB / 1.264 GB, free: 205.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02172/1.986, allocations: 18.57 MB / 1.282 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.545e-06/1.986, allocations: 8.469 kB / 1.282 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007112/1.993, allocations: 4.538 MB / 1.287 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001539/1.995, allocations: 0.6302 MB / 1.288 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004272/1.995, allocations: 45.83 kB / 1.288 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/1.997, allocations: 113.2 kB / 1.288 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005867/1.997, allocations: 184 kB / 1.288 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/1.997, allocations: 63.59 kB / 1.288 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001752/1.999, allocations: 1.315 MB / 1.289 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.999, allocations: 0 / 1.289 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00347/2.003, allocations: 1.142 MB / 1.29 GB, free: 191.3 MB / 0.9981 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003419/2.003, allocations: 166.8 kB / 1.29 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008766/2.012, allocations: 5.909 MB / 1.296 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.327e-05/2.012, allocations: 4 kB / 1.296 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003823/2.016, allocations: 2.917 MB / 1.299 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003613/2.019, allocations: 0.8915 MB / 1.3 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01512/2.034, allocations: 11.77 MB / 1.311 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003176/2.038, allocations: 3.69 MB / 1.315 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002137/2.04, allocations: 0.5556 MB / 1.316 GB, free: 169 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/2.04, allocations: 151.4 kB / 1.316 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of SimCode: time 8.42e-07/2.04, allocations: 0 / 1.316 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.07811/2.118, allocations: 53.09 MB / 1.368 GB, free: 116.5 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches