Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001431/0.001431, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001583/0.001583, allocations: 160.8 kB / 22.46 MB, free: 5.375 MB / 14.72 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.489/1.489, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.1 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 2.909/2.909, allocations: 389 MB / 0.633 GB, free: 0.9844 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 1 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.03e-05/3.187e-05, allocations: 2.281 kB / 1 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03772/0.03775, allocations: 28.73 MB / 1.028 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02344/0.06119, allocations: 13.05 MB / 1.041 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003119/0.0643, allocations: 198.4 kB / 1.041 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01197/0.07628, allocations: 3.222 MB / 1.044 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009681/0.08596, allocations: 2.832 MB / 1.047 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006512/0.09247, allocations: 2.044 MB / 1.049 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01171/0.1042, allocations: 7.787 MB / 1.057 GB, free: 13.21 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009256/0.1134, allocations: 4.604 MB / 1.061 GB, free: 8.484 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01043/0.1239, allocations: 4.912 MB / 1.066 GB, free: 3.562 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006495/0.1304, allocations: 3.059 MB / 1.069 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002007/0.1324, allocations: 0.5938 MB / 1.07 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004365/0.1367, allocations: 1.408 MB / 1.071 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003751/0.1405, allocations: 2.529 MB / 1.073 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004191/0.1447, allocations: 1.996 MB / 1.075 GB, free: 9.957 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01327/0.1579, allocations: 9.606 MB / 1.085 GB, free: 332 kB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.1579, allocations: 0 / 1.085 GB, free: 332 kB / 1.029 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1579, allocations: 0 / 1.085 GB, free: 332 kB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0003466/0.1583, allocations: 0 / 1.085 GB, free: 332 kB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01368/0.172, allocations: 5.125 MB / 1.09 GB, free: 11.13 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.172, allocations: 11.98 kB / 1.09 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00661/0.1786, allocations: 1.028 MB / 1.091 GB, free: 10.09 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007306/0.1859, allocations: 3.013 MB / 1.094 GB, free: 6.984 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003298/0.1863, allocations: 320.8 kB / 1.094 GB, free: 6.668 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001409/0.1877, allocations: 416.3 kB / 1.094 GB, free: 6.262 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01701/0.2047, allocations: 7.371 MB / 1.102 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000246/0.2049, allocations: 27.77 kB / 1.102 GB, free: 14.44 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001303/0.2062, allocations: 184 kB / 1.102 GB, free: 14.26 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001087/0.2073, allocations: 368 kB / 1.102 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01194/0.2193, allocations: 5.11 MB / 1.107 GB, free: 8.766 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03639/0.2557, allocations: 19.02 MB / 1.126 GB, free: 5.238 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002433/0.2581, allocations: 1.309 MB / 1.127 GB, free: 3.918 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001982/0.2601, allocations: 1.238 MB / 1.128 GB, free: 2.68 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.2602, allocations: 17.25 kB / 1.128 GB, free: 2.664 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.419e-05/0.2602, allocations: 55.81 kB / 1.128 GB, free: 2.602 MB / 1.076 GB Notification: Performance of pre-optimization done (n=130): time 3.406e-06/0.2602, allocations: 0 / 1.128 GB, free: 2.602 MB / 1.076 GB Notification: Performance of matching and sorting (n=199): time 0.6173/0.8775, allocations: 22.82 MB / 1.151 GB, free: 157 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.8776, allocations: 73.7 kB / 1.151 GB, free: 157 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/0.88, allocations: 1.848 MB / 1.152 GB, free: 156.3 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002157/0.8802, allocations: 61.83 kB / 1.152 GB, free: 156.2 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.8812, allocations: 2.068 MB / 1.154 GB, free: 154.9 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004602/0.8817, allocations: 0.7014 MB / 1.155 GB, free: 154.5 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006933/0.8824, allocations: 405.9 kB / 1.156 GB, free: 154.3 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.599e-05/0.8824, allocations: 309.1 kB / 1.156 GB, free: 154 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001853/0.8843, allocations: 1.432 MB / 1.157 GB, free: 153.4 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002082/0.8864, allocations: 2.017 MB / 1.159 GB, free: 152.1 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004149/0.8905, allocations: 3.687 MB / 1.163 GB, free: 150 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.377e-05/0.8905, allocations: 5.5 kB / 1.163 GB, free: 150 MB / 1.076 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01073/0.9013, allocations: 5.576 MB / 1.168 GB, free: 147.7 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.9013, allocations: 13.06 kB / 1.168 GB, free: 147.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.083e-05/0.9013, allocations: 15.97 kB / 1.168 GB, free: 147.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007086/0.9084, allocations: 2.077 MB / 1.17 GB, free: 147 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/0.9101, allocations: 379.9 kB / 1.171 GB, free: 147 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03265/0.9427, allocations: 35.86 MB / 1.206 GB, free: 118.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002413/0.9452, allocations: 125.8 kB / 1.206 GB, free: 118.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002034/0.9454, allocations: 92.59 kB / 1.206 GB, free: 118.7 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.002457/0.9478, allocations: 1.504 MB / 1.207 GB, free: 118 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004798/0.9483, allocations: 277.6 kB / 1.208 GB, free: 117.9 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/0.9584, allocations: 5.131 MB / 1.213 GB, free: 115.7 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.9584, allocations: 19.88 kB / 1.213 GB, free: 115.7 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.795e-05/0.9584, allocations: 16.91 kB / 1.213 GB, free: 115.7 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.19e-05/0.9585, allocations: 11.09 kB / 1.213 GB, free: 115.7 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01583/0.9743, allocations: 8.437 MB / 1.221 GB, free: 112.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.638e-05/0.9743, allocations: 7.469 kB / 1.221 GB, free: 112.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009411/0.9752, allocations: 217.1 kB / 1.221 GB, free: 112.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005989/0.9812, allocations: 1.833 MB / 1.223 GB, free: 111.6 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002405/0.9815, allocations: 40.22 kB / 1.223 GB, free: 111.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02736/1.009, allocations: 34.88 MB / 1.257 GB, free: 82.97 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.009, allocations: 11.94 kB / 1.257 GB, free: 82.96 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007695/1.017, allocations: 4.811 MB / 1.262 GB, free: 77.99 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/1.018, allocations: 0.5293 MB / 1.262 GB, free: 77.46 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003572/1.018, allocations: 47.92 kB / 1.262 GB, free: 77.41 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/1.02, allocations: 127.8 kB / 1.262 GB, free: 77.29 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000621/1.02, allocations: 205.4 kB / 1.263 GB, free: 77.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/1.02, allocations: 56.19 kB / 1.263 GB, free: 77.04 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001415/1.022, allocations: 1.205 MB / 1.264 GB, free: 75.82 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/1.022, allocations: 0 / 1.264 GB, free: 75.82 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003101/1.025, allocations: 1.043 MB / 1.265 GB, free: 74.77 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002617/1.025, allocations: 174.9 kB / 1.265 GB, free: 74.59 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.007847/1.033, allocations: 5.993 MB / 1.271 GB, free: 68.39 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.033, allocations: 4.875 kB / 1.271 GB, free: 68.38 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.005157/1.038, allocations: 4.27 MB / 1.275 GB, free: 63.89 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003415/1.042, allocations: 0.9097 MB / 1.276 GB, free: 63.03 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/1.052, allocations: 8.224 MB / 1.284 GB, free: 54.73 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00231/1.055, allocations: 2.583 MB / 1.287 GB, free: 52.11 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.00139/1.056, allocations: 0.4905 MB / 1.287 GB, free: 51.62 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/1.056, allocations: 136.5 kB / 1.287 GB, free: 51.48 MB / 1.076 GB Notification: Performance of SimCode: time 8.72e-07/1.056, allocations: 0 / 1.287 GB, free: 51.48 MB / 1.076 GB Notification: Performance of Templates: time 0.08035/1.137, allocations: 60.23 MB / 1.346 GB, free: 8.426 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.75402206927538]