Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001697/0.001698, allocations: 109.5 kB / 17.08 MB, free: 6.008 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.00173/0.00173, allocations: 194.2 kB / 20.03 MB, free: 3.082 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.514/1.514, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.128/3.128, allocations: 489.3 MB / 0.7687 GB, free: 3.809 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.103 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099/1.101, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04237/1.144, allocations: 33.34 MB / 1.295 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02961/1.173, allocations: 14.83 MB / 1.31 GB, free: 7.07 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006045/1.179, allocations: 156.3 kB / 1.31 GB, free: 7.02 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01153/1.191, allocations: 3.655 MB / 1.313 GB, free: 4.805 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01261/1.204, allocations: 2.885 MB / 1.316 GB, free: 3.031 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.008632/1.212, allocations: 2.322 MB / 1.318 GB, free: 1.742 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01657/1.229, allocations: 8.805 MB / 1.327 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01678/1.246, allocations: 9.575 MB / 1.336 GB, free: 9.859 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01123/1.257, allocations: 3.96 MB / 1.34 GB, free: 8.137 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01084/1.268, allocations: 4.04 MB / 1.344 GB, free: 6.363 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.003839/1.272, allocations: 0.7159 MB / 1.345 GB, free: 6.363 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008017/1.28, allocations: 1.716 MB / 1.347 GB, free: 5.965 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.006972/1.287, allocations: 2.827 MB / 1.349 GB, free: 4.777 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.01278/1.3, allocations: 3.391 MB / 1.353 GB, free: 2.625 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.02319/1.323, allocations: 11.22 MB / 1.364 GB, free: 10.86 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.17e-05/1.323, allocations: 1.062 kB / 1.364 GB, free: 10.86 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.485e-06/1.323, allocations: 0 / 1.364 GB, free: 10.86 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0005152/1.323, allocations: 0 / 1.364 GB, free: 10.86 MB / 1.061 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.02496/1.348, allocations: 6.136 MB / 1.37 GB, free: 6.719 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/1.348, allocations: 9.656 kB / 1.37 GB, free: 6.719 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009908/1.358, allocations: 1.165 MB / 1.371 GB, free: 6.164 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01098/1.369, allocations: 3.539 MB / 1.374 GB, free: 3.828 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005195/1.37, allocations: 372.3 kB / 1.375 GB, free: 3.66 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003081/1.373, allocations: 0.4918 MB / 1.375 GB, free: 3.484 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02551/1.399, allocations: 8.001 MB / 1.383 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001992/1.399, allocations: 23.81 kB / 1.383 GB, free: 12.77 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00151/1.4, allocations: 224 kB / 1.383 GB, free: 12.55 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001165/1.402, allocations: 433.6 kB / 1.383 GB, free: 12.13 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01545/1.417, allocations: 6.085 MB / 1.389 GB, free: 6.031 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0533/1.47, allocations: 34.96 MB / 1.424 GB, free: 15.89 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003307/1.474, allocations: 2.018 MB / 1.426 GB, free: 13.87 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002925/1.477, allocations: 1.873 MB / 1.427 GB, free: 12 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/1.477, allocations: 21.98 kB / 1.427 GB, free: 11.97 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.818e-05/1.477, allocations: 56.5 kB / 1.427 GB, free: 11.91 MB / 1.123 GB Notification: Performance of pre-optimization done (n=171): time 3.567e-06/1.477, allocations: 0 / 1.427 GB, free: 11.91 MB / 1.123 GB Notification: Performance of matching and sorting (n=276): time 0.1618/1.639, allocations: 38.98 MB / 1.466 GB, free: 4.832 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.757e-05/1.639, allocations: 77.58 kB / 1.466 GB, free: 4.742 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003943/1.643, allocations: 2.282 MB / 1.468 GB, free: 2.445 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0005569/1.643, allocations: 73.7 kB / 1.468 GB, free: 2.367 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001933/1.645, allocations: 2.338 MB / 1.47 GB, free: 8 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001404/1.647, allocations: 0.9839 MB / 1.471 GB, free: 15.01 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/1.648, allocations: 0.5063 MB / 1.472 GB, free: 14.5 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.648, allocations: 309.1 kB / 1.472 GB, free: 14.19 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003235/1.651, allocations: 1.973 MB / 1.474 GB, free: 12.21 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003762/1.655, allocations: 2.602 MB / 1.476 GB, free: 9.371 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007397/1.662, allocations: 4.929 MB / 1.481 GB, free: 4.168 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/1.662, allocations: 8 kB / 1.481 GB, free: 4.16 MB / 1.17 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01624/1.679, allocations: 7.759 MB / 1.489 GB, free: 12.33 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.317e-05/1.679, allocations: 17 kB / 1.489 GB, free: 12.31 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.513e-05/1.679, allocations: 23.92 kB / 1.489 GB, free: 12.29 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009962/1.689, allocations: 3.219 MB / 1.492 GB, free: 9.055 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001861/1.691, allocations: 399.4 kB / 1.492 GB, free: 8.664 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05058/1.741, allocations: 33.9 MB / 1.525 GB, free: 5.914 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00377/1.745, allocations: 163.8 kB / 1.526 GB, free: 5.754 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004842/1.746, allocations: 112 kB / 1.526 GB, free: 5.645 MB / 1.217 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.00413/1.75, allocations: 1.799 MB / 1.527 GB, free: 3.84 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/1.751, allocations: 345.9 kB / 1.528 GB, free: 3.5 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01547/1.766, allocations: 7.361 MB / 1.535 GB, free: 12.05 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.294e-05/1.766, allocations: 24 kB / 1.535 GB, free: 12.03 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.6e-05/1.766, allocations: 32.25 kB / 1.535 GB, free: 12 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.686e-05/1.766, allocations: 11.95 kB / 1.535 GB, free: 11.99 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02721/1.794, allocations: 12.93 MB / 1.548 GB, free: 14.89 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.177e-05/1.794, allocations: 11.94 kB / 1.548 GB, free: 14.88 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/1.795, allocations: 231.6 kB / 1.548 GB, free: 14.65 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009075/1.804, allocations: 2.849 MB / 1.551 GB, free: 11.78 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000455/1.804, allocations: 48 kB / 1.551 GB, free: 11.73 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04907/1.853, allocations: 32.69 MB / 1.583 GB, free: 10.19 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.686e-05/1.854, allocations: 12.31 kB / 1.583 GB, free: 10.18 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/1.869, allocations: 6.912 MB / 1.589 GB, free: 3.059 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002695/1.872, allocations: 0.7955 MB / 1.59 GB, free: 2.242 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001062/1.873, allocations: 56 kB / 1.59 GB, free: 2.188 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002315/1.875, allocations: 167.7 kB / 1.59 GB, free: 2.023 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009612/1.876, allocations: 249.5 kB / 1.591 GB, free: 1.777 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002142/1.876, allocations: 79.98 kB / 1.591 GB, free: 1.699 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002639/1.879, allocations: 1.521 MB / 1.592 GB, free: 180 kB / 1.279 GB Notification: Performance of sort global known variables: time 2.324e-06/1.879, allocations: 0 / 1.592 GB, free: 180 kB / 1.279 GB Notification: Performance of remove unused functions: time 0.005899/1.885, allocations: 1.375 MB / 1.594 GB, free: 14.8 MB / 1.295 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.0005941/1.885, allocations: 178.9 kB / 1.594 GB, free: 14.61 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01371/1.899, allocations: 6.946 MB / 1.601 GB, free: 7.574 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/1.899, allocations: 4 kB / 1.601 GB, free: 7.57 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.009584/1.909, allocations: 4.425 MB / 1.605 GB, free: 3.059 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007493/1.916, allocations: 1.111 MB / 1.606 GB, free: 1.98 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03032/1.947, allocations: 10.94 MB / 1.617 GB, free: 6.957 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007719/1.954, allocations: 3.753 MB / 1.62 GB, free: 3.168 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/1.955, allocations: 175.4 kB / 1.62 GB, free: 3 MB / 1.311 GB Notification: Performance of SimCode: time 1.123e-06/1.955, allocations: 0 / 1.62 GB, free: 3 MB / 1.311 GB Notification: Performance of Templates: time 1.059/3.014, allocations: 227.6 MB / 1.843 GB, free: 0.4988 GB / 1.529 GB " [Timeout remaining time 297] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 28.087147887796164]