Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.00147/0.00147, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001783/0.001783, allocations: 192.4 kB / 22.17 MB, free: 5.656 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.45/1.45, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.779/2.779, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 71.89 kB / 1.109 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7845/0.7866, allocations: 168.7 MB / 1.274 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01372/0.8003, allocations: 10.45 MB / 1.284 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006088/0.8064, allocations: 3.131 MB / 1.287 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008457/0.8072, allocations: 31.88 kB / 1.287 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002156/0.8094, allocations: 0.7088 MB / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.8112, allocations: 0.7273 MB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.8129, allocations: 0.6541 MB / 1.289 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003458/0.8164, allocations: 2.734 MB / 1.292 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002299/0.8187, allocations: 1.269 MB / 1.293 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002027/0.8207, allocations: 1.137 MB / 1.294 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003069/0.8238, allocations: 1.5 MB / 1.296 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005834/0.8244, allocations: 219.9 kB / 1.296 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.8256, allocations: 499.3 kB / 1.297 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001473/0.8271, allocations: 1.002 MB / 1.298 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001875/0.829, allocations: 1.015 MB / 1.299 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004414/0.8334, allocations: 3.421 MB / 1.302 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.8334, allocations: 0 / 1.302 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8334, allocations: 4 kB / 1.302 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001039/0.8335, allocations: 0 / 1.302 GB, free: 7.965 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.005011/0.8385, allocations: 1.988 MB / 1.304 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.8386, allocations: 8.031 kB / 1.304 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006249/0.8448, allocations: 0.8893 MB / 1.305 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002887/0.8477, allocations: 1.169 MB / 1.306 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.8478, allocations: 115.3 kB / 1.306 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005181/0.8483, allocations: 140.3 kB / 1.306 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005464/0.8538, allocations: 3.017 MB / 1.309 GB, free: 448 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/0.8538, allocations: 11.88 kB / 1.309 GB, free: 436 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00019/0.854, allocations: 63.97 kB / 1.309 GB, free: 372 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002243/0.8542, allocations: 175 kB / 1.309 GB, free: 196 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004257/0.8585, allocations: 2.615 MB / 1.312 GB, free: 13.57 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01764/0.8761, allocations: 13.49 MB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/0.8781, allocations: 1.217 MB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.8795, allocations: 0.9762 MB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.493e-05/0.8796, allocations: 16.66 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.8796, allocations: 43.22 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=82): time 2.234e-06/0.8796, allocations: 0 / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=139): time 0.07978/0.9594, allocations: 19.34 MB / 1.346 GB, free: 9.219 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/0.9595, allocations: 64.72 kB / 1.346 GB, free: 9.145 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.961, allocations: 0.9223 MB / 1.347 GB, free: 8.211 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001546/0.9611, allocations: 49.7 kB / 1.347 GB, free: 8.156 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006106/0.9618, allocations: 0.754 MB / 1.348 GB, free: 7.391 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005161/0.9623, allocations: 0.4957 MB / 1.348 GB, free: 6.891 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006355/0.9629, allocations: 295.5 kB / 1.349 GB, free: 6.598 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.9631, allocations: 353.9 kB / 1.349 GB, free: 6.246 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002107/0.9652, allocations: 1.335 MB / 1.35 GB, free: 4.91 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002351/0.9675, allocations: 1.655 MB / 1.352 GB, free: 3.137 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004495/0.972, allocations: 3.081 MB / 1.355 GB, free: 15.94 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.972, allocations: 4 kB / 1.355 GB, free: 15.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01254/0.9846, allocations: 5.559 MB / 1.36 GB, free: 10.35 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.9846, allocations: 11.98 kB / 1.36 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.69e-05/0.9846, allocations: 15.94 kB / 1.36 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009278/0.9939, allocations: 2.716 MB / 1.363 GB, free: 7.594 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008759/0.9948, allocations: 187.7 kB / 1.363 GB, free: 7.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04079/1.036, allocations: 25.74 MB / 1.388 GB, free: 13.11 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/1.037, allocations: 95.94 kB / 1.388 GB, free: 13.02 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003163/1.038, allocations: 56 kB / 1.388 GB, free: 12.96 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001392/1.039, allocations: 0.7315 MB / 1.389 GB, free: 12.22 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003528/1.039, allocations: 123.2 kB / 1.389 GB, free: 12.1 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/1.051, allocations: 5.318 MB / 1.394 GB, free: 6.746 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/1.051, allocations: 15.98 kB / 1.394 GB, free: 6.73 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-05/1.052, allocations: 20 kB / 1.395 GB, free: 6.711 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.572e-05/1.052, allocations: 3.984 kB / 1.395 GB, free: 6.707 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01908/1.071, allocations: 8.604 MB / 1.403 GB, free: 13.98 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/1.071, allocations: 8.094 kB / 1.403 GB, free: 13.97 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005121/1.071, allocations: 123.8 kB / 1.403 GB, free: 13.85 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009062/1.08, allocations: 2.591 MB / 1.406 GB, free: 11.25 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002021/1.08, allocations: 31.94 kB / 1.406 GB, free: 11.22 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03812/1.119, allocations: 24.17 MB / 1.429 GB, free: 2.48 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/1.119, allocations: 4 kB / 1.429 GB, free: 2.477 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01214/1.131, allocations: 5.179 MB / 1.434 GB, free: 13.21 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/1.132, allocations: 496.2 kB / 1.435 GB, free: 12.71 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004007/1.133, allocations: 28 kB / 1.435 GB, free: 12.68 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/1.134, allocations: 79.83 kB / 1.435 GB, free: 12.6 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005572/1.134, allocations: 121.1 kB / 1.435 GB, free: 12.48 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/1.134, allocations: 39.94 kB / 1.435 GB, free: 12.45 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001029/1.135, allocations: 0.6395 MB / 1.436 GB, free: 11.81 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/1.135, allocations: 0 / 1.436 GB, free: 11.81 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002745/1.138, allocations: 0.7227 MB / 1.436 GB, free: 11.09 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003237/1.138, allocations: 139.7 kB / 1.436 GB, free: 10.94 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.007552/1.146, allocations: 4.082 MB / 1.44 GB, free: 6.809 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.146, allocations: 0 / 1.44 GB, free: 6.809 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.005991/1.152, allocations: 2.615 MB / 1.443 GB, free: 4.145 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/1.154, allocations: 229.2 kB / 1.443 GB, free: 3.934 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00791/1.162, allocations: 4.087 MB / 1.447 GB, free: 15.78 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002061/1.164, allocations: 1.7 MB / 1.449 GB, free: 14.05 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008898/1.165, allocations: 329.4 kB / 1.449 GB, free: 13.72 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/1.165, allocations: 55.44 kB / 1.449 GB, free: 13.67 MB / 1.154 GB Notification: Performance of SimCode: time 7.62e-07/1.165, allocations: 0 / 1.449 GB, free: 13.67 MB / 1.154 GB Notification: Performance of Templates: time 0.06954/1.234, allocations: 41.42 MB / 1.49 GB, free: 4.395 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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: 9.572141693439335]