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.001658/0.001658, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001949/0.001949, allocations: 197.6 kB / 22.17 MB, free: 5.211 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.404/1.404, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.777/2.777, allocations: 476.7 MB / 0.7645 GB, free: 10.08 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.001992/0.001992, allocations: 75.81 kB / 1.109 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7662/0.7682, allocations: 168.7 MB / 1.274 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01373/0.7819, allocations: 10.47 MB / 1.284 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00551/0.7874, allocations: 3.119 MB / 1.287 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005135/0.7879, allocations: 39.81 kB / 1.287 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00191/0.7898, allocations: 0.7153 MB / 1.288 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.7914, allocations: 0.7234 MB / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.7928, allocations: 0.6617 MB / 1.289 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003209/0.7961, allocations: 2.738 MB / 1.292 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001846/0.7979, allocations: 1.269 MB / 1.293 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.7995, allocations: 1.133 MB / 1.294 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002097/0.8016, allocations: 1.503 MB / 1.296 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003035/0.8019, allocations: 216 kB / 1.296 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008859/0.8028, allocations: 495.3 kB / 1.297 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.8038, allocations: 1.005 MB / 1.298 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001124/0.8049, allocations: 1.004 MB / 1.299 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003462/0.8084, allocations: 3.429 MB / 1.302 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.8084, allocations: 0 / 1.302 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.8084, allocations: 0 / 1.302 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.83e-05/0.8084, allocations: 4 kB / 1.302 GB, free: 7.863 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.003595/0.812, allocations: 1.988 MB / 1.304 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.8121, allocations: 8.031 kB / 1.304 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005763/0.8178, allocations: 0.8931 MB / 1.305 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/0.8202, allocations: 1.165 MB / 1.306 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.995e-05/0.8203, allocations: 115.3 kB / 1.306 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002672/0.8206, allocations: 136.4 kB / 1.306 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004643/0.8253, allocations: 3.025 MB / 1.309 GB, free: 340 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.234e-05/0.8253, allocations: 7.938 kB / 1.309 GB, free: 332 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/0.8255, allocations: 63.97 kB / 1.309 GB, free: 268 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002288/0.8257, allocations: 175 kB / 1.309 GB, free: 92 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004109/0.8298, allocations: 2.604 MB / 1.312 GB, free: 13.48 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.01797/0.8478, allocations: 13.51 MB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002056/0.8499, allocations: 1.222 MB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/0.8513, allocations: 0.9723 MB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.874e-05/0.8514, allocations: 8.656 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.462e-05/0.8514, allocations: 51.19 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of pre-optimization done (n=82): time 2.765e-06/0.8514, allocations: 0 / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=139): time 0.07376/0.9252, allocations: 19.33 MB / 1.346 GB, free: 9.129 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.9252, allocations: 72.72 kB / 1.346 GB, free: 9.047 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.9264, allocations: 0.9184 MB / 1.347 GB, free: 8.117 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.9266, allocations: 49.7 kB / 1.347 GB, free: 8.062 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005334/0.9271, allocations: 0.7501 MB / 1.348 GB, free: 7.301 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004564/0.9276, allocations: 0.4996 MB / 1.348 GB, free: 6.797 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005754/0.9281, allocations: 291.5 kB / 1.349 GB, free: 6.508 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.9283, allocations: 353.9 kB / 1.349 GB, free: 6.156 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/0.9302, allocations: 1.339 MB / 1.35 GB, free: 4.816 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002182/0.9324, allocations: 1.655 MB / 1.352 GB, free: 3.043 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004274/0.9367, allocations: 3.088 MB / 1.355 GB, free: 15.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.9367, allocations: 4 kB / 1.355 GB, free: 15.83 MB / 1.061 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01193/0.9486, allocations: 5.555 MB / 1.36 GB, free: 10.25 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.9487, allocations: 8.656 kB / 1.36 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/0.9487, allocations: 11.94 kB / 1.36 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008661/0.9574, allocations: 2.723 MB / 1.363 GB, free: 7.496 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007808/0.9581, allocations: 191.7 kB / 1.363 GB, free: 7.309 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03833/0.9965, allocations: 25.74 MB / 1.388 GB, free: 13 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.998, allocations: 91.95 kB / 1.388 GB, free: 12.91 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002199/0.9982, allocations: 56 kB / 1.388 GB, free: 12.86 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.001306/0.9995, allocations: 0.7315 MB / 1.389 GB, free: 12.12 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002989/0.9998, allocations: 127.2 kB / 1.389 GB, free: 11.99 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/1.011, allocations: 5.314 MB / 1.394 GB, free: 6.645 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/1.011, allocations: 12 kB / 1.394 GB, free: 6.633 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.472e-05/1.012, allocations: 20 kB / 1.395 GB, free: 6.613 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/1.012, allocations: 7.969 kB / 1.395 GB, free: 6.605 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01788/1.029, allocations: 8.6 MB / 1.403 GB, free: 13.88 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/1.029, allocations: 4 kB / 1.403 GB, free: 13.88 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005023/1.03, allocations: 123.8 kB / 1.403 GB, free: 13.76 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008755/1.039, allocations: 2.598 MB / 1.406 GB, free: 11.15 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001789/1.039, allocations: 28 kB / 1.406 GB, free: 11.12 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0374/1.076, allocations: 24.16 MB / 1.429 GB, free: 2.391 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-06/1.076, allocations: 7.984 kB / 1.429 GB, free: 2.383 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/1.088, allocations: 5.183 MB / 1.434 GB, free: 13.12 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/1.089, allocations: 496.2 kB / 1.435 GB, free: 12.61 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002758/1.089, allocations: 24 kB / 1.435 GB, free: 12.59 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/1.09, allocations: 83.89 kB / 1.435 GB, free: 12.51 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004771/1.091, allocations: 121 kB / 1.435 GB, free: 12.39 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/1.091, allocations: 36 kB / 1.435 GB, free: 12.36 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009537/1.092, allocations: 0.6434 MB / 1.436 GB, free: 11.71 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/1.092, allocations: 0 / 1.436 GB, free: 11.71 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00237/1.094, allocations: 0.7227 MB / 1.436 GB, free: 10.99 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.0002901/1.094, allocations: 135.7 kB / 1.436 GB, free: 10.85 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.007568/1.102, allocations: 4.092 MB / 1.44 GB, free: 6.711 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/1.102, allocations: 0 / 1.44 GB, free: 6.711 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.005408/1.107, allocations: 2.611 MB / 1.443 GB, free: 4.047 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/1.109, allocations: 223.5 kB / 1.443 GB, free: 3.836 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00701/1.116, allocations: 4.081 MB / 1.447 GB, free: 15.69 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001829/1.118, allocations: 1.696 MB / 1.449 GB, free: 13.96 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007609/1.118, allocations: 325.5 kB / 1.449 GB, free: 13.64 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/1.119, allocations: 59.44 kB / 1.449 GB, free: 13.58 MB / 1.154 GB Notification: Performance of SimCode: time 1.042e-06/1.119, allocations: 0 / 1.449 GB, free: 13.58 MB / 1.154 GB Notification: Performance of Templates: time 0.06486/1.183, allocations: 41.43 MB / 1.49 GB, free: 4.293 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 cvode -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.419861390721053]