Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00223/0.00223, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.182/3.182, allocations: 429.6 MB / 0.673 GB, free: 3.871 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_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=2500,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.8776 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.071e-05, allocations: 4.703 kB / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.05172/0.05175, allocations: 35.68 MB / 0.9124 GB, free: 2.703 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.02217/0.07391, allocations: 10.97 MB / 0.9232 GB, free: 7.707 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003288/0.0772, allocations: 206.6 kB / 0.9234 GB, free: 7.504 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.01298/0.09019, allocations: 4.398 MB / 0.9277 GB, free: 3.086 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.006781/0.09697, allocations: 2.384 MB / 0.93 GB, free: 0.6875 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.005966/0.1029, allocations: 2.186 MB / 0.9321 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.01332/0.1162, allocations: 9.458 MB / 0.9414 GB, free: 5.008 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01243/0.1287, allocations: 6.354 MB / 0.9476 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01107/0.1398, allocations: 5.754 MB / 0.9532 GB, free: 8.766 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009095/0.1489, allocations: 4.162 MB / 0.9572 GB, free: 4.594 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.002472/0.1513, allocations: 0.8398 MB / 0.9581 GB, free: 3.75 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004397/0.1557, allocations: 1.533 MB / 0.9596 GB, free: 2.215 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.00591/0.1616, allocations: 3.398 MB / 0.9629 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.006677/0.1683, allocations: 2.593 MB / 0.9654 GB, free: 12.21 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01856/0.1869, allocations: 12.7 MB / 0.9778 GB, free: 15.47 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.403e-06/0.1869, allocations: 0 / 0.9778 GB, free: 15.47 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1869, allocations: 0 / 0.9778 GB, free: 15.47 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000276/0.1871, allocations: 0 / 0.9778 GB, free: 15.47 MB / 0.948 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.01547/0.2026, allocations: 6.379 MB / 0.984 GB, free: 9.035 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.2027, allocations: 8.031 kB / 0.9841 GB, free: 9.027 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007478/0.2101, allocations: 1.803 MB / 0.9858 GB, free: 7.219 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009008/0.2191, allocations: 3.911 MB / 0.9896 GB, free: 3.246 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004759/0.2196, allocations: 423.7 kB / 0.99 GB, free: 2.832 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001432/0.2211, allocations: 0.5628 MB / 0.9906 GB, free: 2.27 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02167/0.2427, allocations: 10.28 MB / 1.001 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000164/0.2429, allocations: 20 kB / 1.001 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001059/0.2439, allocations: 248.3 kB / 1.001 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000749/0.2447, allocations: 426.9 kB / 1.001 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01539/0.2601, allocations: 7.108 MB / 1.008 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04449/0.3046, allocations: 25.63 MB / 1.033 GB, free: 5.387 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005295/0.3099, allocations: 2.906 MB / 1.036 GB, free: 2.473 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00339/0.3133, allocations: 1.949 MB / 1.038 GB, free: 0.5234 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.3134, allocations: 34 kB / 1.038 GB, free: 0.4922 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.674e-05/0.3135, allocations: 60.56 kB / 1.038 GB, free: 432 kB / 0.9948 GB Notification: Performance of pre-optimization done (n=209): time 3.977e-06/0.3135, allocations: 0 / 1.038 GB, free: 432 kB / 0.9948 GB Notification: Performance of matching and sorting (n=212): time 0.02767/0.3411, allocations: 10.32 MB / 1.048 GB, free: 6.078 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.846e-05/0.3412, allocations: 81.39 kB / 1.048 GB, free: 5.988 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00322/0.3444, allocations: 1.779 MB / 1.05 GB, free: 4.18 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.000225/0.3447, allocations: 65.7 kB / 1.05 GB, free: 4.109 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002321/0.347, allocations: 2.477 MB / 1.052 GB, free: 1.609 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008905/0.3479, allocations: 0.7552 MB / 1.053 GB, free: 0.8477 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008974/0.3488, allocations: 481.5 kB / 1.054 GB, free: 380 kB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3489, allocations: 305.1 kB / 1.054 GB, free: 72 kB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3809/0.7298, allocations: 1.336 MB / 1.055 GB, free: 199.8 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/0.7316, allocations: 2.197 MB / 1.057 GB, free: 198.5 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003699/0.7353, allocations: 3.872 MB / 1.061 GB, free: 196.2 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.588e-05/0.7353, allocations: 8.656 kB / 1.061 GB, free: 196.2 MB / 1.01 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007021/0.7424, allocations: 5.122 MB / 1.066 GB, free: 194.3 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.7424, allocations: 16.31 kB / 1.066 GB, free: 194.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.108e-05/0.7424, allocations: 28.75 kB / 1.066 GB, free: 194.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003654/0.7461, allocations: 1.673 MB / 1.068 GB, free: 193.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/0.7476, allocations: 467 kB / 1.068 GB, free: 193.9 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01805/0.7656, allocations: 17.87 MB / 1.086 GB, free: 183.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/0.7676, allocations: 152.7 kB / 1.086 GB, free: 183.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002182/0.7679, allocations: 112.5 kB / 1.086 GB, free: 183.6 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * 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.002638/0.7705, allocations: 1.956 MB / 1.088 GB, free: 182.7 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006226/0.7711, allocations: 354 kB / 1.088 GB, free: 182.7 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006779/0.7779, allocations: 4.382 MB / 1.093 GB, free: 180.9 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/0.7779, allocations: 28.81 kB / 1.093 GB, free: 180.9 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-05/0.778, allocations: 17.48 kB / 1.093 GB, free: 180.9 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/0.778, allocations: 11.08 kB / 1.093 GB, free: 180.9 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01373/0.7917, allocations: 8.322 MB / 1.101 GB, free: 177.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.7917, allocations: 7.969 kB / 1.101 GB, free: 177.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009927/0.7927, allocations: 229.2 kB / 1.101 GB, free: 177.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003803/0.7965, allocations: 1.506 MB / 1.102 GB, free: 177.1 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001683/0.7967, allocations: 39.88 kB / 1.102 GB, free: 177 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02136/0.8181, allocations: 17.88 MB / 1.12 GB, free: 166.8 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.8181, allocations: 5.219 kB / 1.12 GB, free: 166.8 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008631/0.8267, allocations: 4.538 MB / 1.124 GB, free: 164.9 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/0.8281, allocations: 0.5431 MB / 1.125 GB, free: 164.6 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005434/0.8287, allocations: 46.8 kB / 1.125 GB, free: 164.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/0.8301, allocations: 115.2 kB / 1.125 GB, free: 164.6 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006117/0.8307, allocations: 194.4 kB / 1.125 GB, free: 164.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001777/0.8309, allocations: 59.83 kB / 1.125 GB, free: 164.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001954/0.8328, allocations: 1.129 MB / 1.126 GB, free: 164.1 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.8328, allocations: 0.9844 kB / 1.126 GB, free: 164.1 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003751/0.8366, allocations: 1.132 MB / 1.127 GB, free: 164 MB / 1.01 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.0003371/0.8369, allocations: 164.3 kB / 1.128 GB, free: 163.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006853/0.8438, allocations: 4.531 MB / 1.132 GB, free: 161.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/0.8438, allocations: 8.344 kB / 1.132 GB, free: 161.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004336/0.8481, allocations: 2.802 MB / 1.135 GB, free: 160.4 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003984/0.8521, allocations: 0.8341 MB / 1.136 GB, free: 160.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/0.8686, allocations: 9.649 MB / 1.145 GB, free: 154.2 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00473/0.8733, allocations: 3.162 MB / 1.148 GB, free: 151.8 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002112/0.8754, allocations: 0.5273 MB / 1.149 GB, free: 151.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004857/0.8759, allocations: 144.1 kB / 1.149 GB, free: 151.3 MB / 1.01 GB Notification: Performance of SimCode: time 1.292e-06/0.8759, allocations: 4 kB / 1.149 GB, free: 151.3 MB / 1.01 GB Notification: Performance of Templates: time 0.06721/0.9431, allocations: 51.67 MB / 1.199 GB, free: 102.5 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.401777104008943]