Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 117.6 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 197.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.558/2.558, allocations: 443.5 MB / 0.7293 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 177] 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_N,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 71.88 kB / 1.057 GB, free: 2.004 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3063, allocations: 160.7 MB / 1.214 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04275/0.349, allocations: 33.85 MB / 1.247 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6359/0.985, allocations: 14.95 MB / 1.262 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004104/0.9891, allocations: 154.7 kB / 1.262 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009339/0.9984, allocations: 3.708 MB / 1.266 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009845/1.008, allocations: 2.989 MB / 1.268 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006699/1.015, allocations: 2.33 MB / 1.271 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01614/1.031, allocations: 8.819 MB / 1.279 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0156/1.047, allocations: 7.216 MB / 1.286 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01075/1.057, allocations: 4.016 MB / 1.29 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01062/1.068, allocations: 4.26 MB / 1.294 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.004029/1.072, allocations: 0.7152 MB / 1.295 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007077/1.079, allocations: 1.752 MB / 1.297 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.006806/1.086, allocations: 2.891 MB / 1.3 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0112/1.097, allocations: 3.392 MB / 1.303 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0214/1.119, allocations: 11.22 MB / 1.314 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/1.119, allocations: 0 / 1.314 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.234e-06/1.119, allocations: 0 / 1.314 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004711/1.119, allocations: 7.188 kB / 1.314 GB, free: 3.539 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02418/1.143, allocations: 6.127 MB / 1.32 GB, free: 15.94 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/1.143, allocations: 13.7 kB / 1.32 GB, free: 15.94 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009963/1.153, allocations: 1.172 MB / 1.321 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01088/1.164, allocations: 3.541 MB / 1.325 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004714/1.165, allocations: 377.8 kB / 1.325 GB, free: 12.93 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002585/1.167, allocations: 491.1 kB / 1.325 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02346/1.191, allocations: 8.012 MB / 1.333 GB, free: 7.906 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002734/1.191, allocations: 24.36 kB / 1.333 GB, free: 7.891 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001886/1.193, allocations: 216 kB / 1.333 GB, free: 7.738 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001261/1.194, allocations: 445.2 kB / 1.334 GB, free: 7.609 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01472/1.209, allocations: 6.086 MB / 1.34 GB, free: 4.477 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05274/1.262, allocations: 34.96 MB / 1.374 GB, free: 4.016 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003355/1.265, allocations: 1.913 MB / 1.376 GB, free: 2.098 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002913/1.268, allocations: 1.747 MB / 1.378 GB, free: 368 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/1.268, allocations: 21.98 kB / 1.378 GB, free: 344 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.367e-05/1.268, allocations: 60.55 kB / 1.378 GB, free: 276 kB / 1.045 GB Notification: Performance of pre-optimization done (n=171): time 3.406e-06/1.268, allocations: 4 kB / 1.378 GB, free: 272 kB / 1.045 GB Notification: Performance of matching and sorting (n=276): time 0.1698/1.438, allocations: 38.86 MB / 1.416 GB, free: 9.379 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.573e-05/1.438, allocations: 85.58 kB / 1.416 GB, free: 9.281 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004674/1.443, allocations: 2.283 MB / 1.418 GB, free: 6.984 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0005976/1.443, allocations: 73.7 kB / 1.418 GB, free: 6.906 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.002161/1.445, allocations: 2.332 MB / 1.42 GB, free: 4.559 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001784/1.447, allocations: 0.9768 MB / 1.421 GB, free: 3.594 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001826/1.449, allocations: 0.5064 MB / 1.422 GB, free: 3.078 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002152/1.449, allocations: 309.1 kB / 1.422 GB, free: 2.773 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004052/1.453, allocations: 1.97 MB / 1.424 GB, free: 0.8008 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004751/1.458, allocations: 2.602 MB / 1.426 GB, free: 13.96 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008552/1.467, allocations: 4.935 MB / 1.431 GB, free: 8.754 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.38e-05/1.467, allocations: 7.938 kB / 1.431 GB, free: 8.746 MB / 1.107 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01838/1.485, allocations: 7.654 MB / 1.439 GB, free: 1.023 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.803e-05/1.485, allocations: 12 kB / 1.439 GB, free: 1.012 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-05/1.485, allocations: 16 kB / 1.439 GB, free: 0.9961 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01073/1.496, allocations: 3.216 MB / 1.442 GB, free: 13.76 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/1.498, allocations: 411 kB / 1.442 GB, free: 13.37 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05433/1.552, allocations: 33.89 MB / 1.475 GB, free: 10.65 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003626/1.556, allocations: 159.8 kB / 1.476 GB, free: 10.5 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006132/1.556, allocations: 112 kB / 1.476 GB, free: 10.39 MB / 1.154 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004279/1.561, allocations: 1.801 MB / 1.477 GB, free: 8.574 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/1.562, allocations: 345.9 kB / 1.478 GB, free: 8.234 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01691/1.579, allocations: 7.243 MB / 1.485 GB, free: 0.9102 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-05/1.579, allocations: 28 kB / 1.485 GB, free: 0.8828 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.936e-05/1.579, allocations: 28 kB / 1.485 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.067e-05/1.579, allocations: 12.2 kB / 1.485 GB, free: 0.8438 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03011/1.609, allocations: 12.81 MB / 1.497 GB, free: 3.91 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.491e-05/1.609, allocations: 8 kB / 1.497 GB, free: 3.902 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/1.61, allocations: 228.5 kB / 1.498 GB, free: 3.68 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009708/1.62, allocations: 2.857 MB / 1.5 GB, free: 0.8047 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005636/1.62, allocations: 52 kB / 1.5 GB, free: 0.7539 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05106/1.671, allocations: 32.7 MB / 1.532 GB, free: 15.21 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.255e-05/1.671, allocations: 11.94 kB / 1.532 GB, free: 15.2 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01577/1.687, allocations: 6.794 MB / 1.539 GB, free: 8.195 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002827/1.69, allocations: 0.7878 MB / 1.54 GB, free: 7.387 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001419/1.691, allocations: 55.98 kB / 1.54 GB, free: 7.332 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002972/1.694, allocations: 167.8 kB / 1.54 GB, free: 7.168 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001152/1.696, allocations: 253.4 kB / 1.54 GB, free: 6.918 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003593/1.696, allocations: 76 kB / 1.54 GB, free: 6.844 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.00335/1.699, allocations: 1.525 MB / 1.542 GB, free: 5.316 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.3e-07/1.699, allocations: 7.938 kB / 1.542 GB, free: 5.309 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.007047/1.706, allocations: 1.367 MB / 1.543 GB, free: 3.941 MB / 1.217 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006796/1.707, allocations: 175 kB / 1.543 GB, free: 3.762 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01353/1.721, allocations: 6.563 MB / 1.55 GB, free: 13.14 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/1.721, allocations: 8.125 kB / 1.55 GB, free: 13.13 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.009175/1.73, allocations: 4.257 MB / 1.554 GB, free: 8.789 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006739/1.736, allocations: 1.105 MB / 1.555 GB, free: 7.715 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02376/1.76, allocations: 10.94 MB / 1.566 GB, free: 12.69 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006335/1.767, allocations: 3.749 MB / 1.569 GB, free: 8.906 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009018/1.767, allocations: 175.4 kB / 1.569 GB, free: 8.734 MB / 1.248 GB Notification: Performance of SimCode: time 1.673e-06/1.767, allocations: 0 / 1.569 GB, free: 8.734 MB / 1.248 GB Notification: Performance of Templates: time 0.2782/2.046, allocations: 227.9 MB / 1.792 GB, free: 5.012 MB / 1.467 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 25.827396976063028]