Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001789/0.001789, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002097/0.002097, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.587/1.587, allocations: 225.6 MB / 249.4 MB, free: 3.145 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.754/2.754, allocations: 443.5 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 176] 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.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_10_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 76.06 kB / 1.059 GB, free: 324 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3981, allocations: 160.7 MB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01409/0.4121, allocations: 10.46 MB / 1.226 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006239/0.4184, allocations: 3.115 MB / 1.229 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006875/0.4191, allocations: 35.88 kB / 1.229 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001992/0.4211, allocations: 0.7114 MB / 1.23 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.4229, allocations: 0.7196 MB / 1.231 GB, free: 184 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.4246, allocations: 0.6691 MB / 1.231 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003527/0.4281, allocations: 2.738 MB / 1.234 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001981/0.4301, allocations: 1.277 MB / 1.235 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001856/0.4319, allocations: 1.133 MB / 1.237 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00215/0.4341, allocations: 1.496 MB / 1.238 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003201/0.4344, allocations: 219.9 kB / 1.238 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.4354, allocations: 491.4 kB / 1.239 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001078/0.4365, allocations: 1.005 MB / 1.24 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001185/0.4377, allocations: 1.015 MB / 1.241 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003665/0.4413, allocations: 3.419 MB / 1.244 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4413, allocations: 0 / 1.244 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4413, allocations: 0 / 1.244 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.26e-05/0.4414, allocations: 4 kB / 1.244 GB, free: 2.652 MB / 0.9825 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.003733/0.4451, allocations: 1.988 MB / 1.246 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.4452, allocations: 12.03 kB / 1.246 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005532/0.4507, allocations: 0.897 MB / 1.247 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002475/0.4532, allocations: 1.165 MB / 1.248 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.103e-05/0.4533, allocations: 107.3 kB / 1.248 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003375/0.4536, allocations: 152.3 kB / 1.248 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005322/0.4589, allocations: 3.017 MB / 1.251 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.045e-05/0.459, allocations: 8 kB / 1.251 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001909/0.4592, allocations: 55.98 kB / 1.251 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002337/0.4594, allocations: 175 kB / 1.251 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004547/0.4639, allocations: 2.608 MB / 1.254 GB, free: 8.27 MB / 0.9981 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.7532/1.217, allocations: 13.5 MB / 1.267 GB, free: 41.25 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/1.219, allocations: 1.219 MB / 1.268 GB, free: 41.21 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/1.22, allocations: 0.9836 MB / 1.269 GB, free: 41.19 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.733e-05/1.22, allocations: 10.34 kB / 1.269 GB, free: 41.19 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/1.22, allocations: 43.59 kB / 1.269 GB, free: 41.15 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.434e-06/1.22, allocations: 1.312 kB / 1.269 GB, free: 41.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139): time 0.07297/1.293, allocations: 19.33 MB / 1.288 GB, free: 39.13 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/1.293, allocations: 66.88 kB / 1.288 GB, free: 39.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/1.295, allocations: 0.9188 MB / 1.289 GB, free: 38.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001938/1.295, allocations: 47.27 kB / 1.289 GB, free: 38.65 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000491/1.295, allocations: 0.7512 MB / 1.29 GB, free: 38.17 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004612/1.296, allocations: 0.4974 MB / 1.29 GB, free: 37.81 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005862/1.296, allocations: 294.3 kB / 1.291 GB, free: 37.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000105/1.296, allocations: 357.9 kB / 1.291 GB, free: 37.35 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002044/1.298, allocations: 1.333 MB / 1.292 GB, free: 36.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002337/1.301, allocations: 1.657 MB / 1.294 GB, free: 36.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004286/1.305, allocations: 3.089 MB / 1.297 GB, free: 34.72 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/1.305, allocations: 9.031 kB / 1.297 GB, free: 34.72 MB / 0.9981 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0122/1.317, allocations: 5.556 MB / 1.302 GB, free: 32.97 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/1.317, allocations: 9.5 kB / 1.302 GB, free: 32.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.801e-05/1.317, allocations: 11.33 kB / 1.302 GB, free: 32.97 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009153/1.327, allocations: 2.725 MB / 1.305 GB, free: 32.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000866/1.327, allocations: 193.4 kB / 1.305 GB, free: 32.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03282/1.36, allocations: 25.73 MB / 1.33 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/1.362, allocations: 94.58 kB / 1.33 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/1.362, allocations: 62.45 kB / 1.331 GB, free: 15.9 MB / 0.9981 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.001092/1.363, allocations: 0.7388 MB / 1.331 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/1.363, allocations: 116.5 kB / 1.331 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009399/1.373, allocations: 5.31 MB / 1.337 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/1.373, allocations: 19.47 kB / 1.337 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.355e-05/1.373, allocations: 23.14 kB / 1.337 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/1.373, allocations: 3.984 kB / 1.337 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.013/1.386, allocations: 8.619 MB / 1.345 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/1.386, allocations: 4 kB / 1.345 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/1.386, allocations: 119.8 kB / 1.345 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00704/1.393, allocations: 2.589 MB / 1.348 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/1.393, allocations: 32 kB / 1.348 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03513/1.428, allocations: 24.16 MB / 1.371 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/1.429, allocations: 7.938 kB / 1.371 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/1.44, allocations: 5.179 MB / 1.376 GB, free: 4.945 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/1.441, allocations: 496.2 kB / 1.377 GB, free: 4.441 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/1.441, allocations: 28.56 kB / 1.377 GB, free: 4.414 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008799/1.442, allocations: 75.91 kB / 1.377 GB, free: 4.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006017/1.443, allocations: 121 kB / 1.377 GB, free: 4.219 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/1.443, allocations: 36 kB / 1.377 GB, free: 4.184 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009438/1.444, allocations: 0.6474 MB / 1.378 GB, free: 3.539 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/1.444, allocations: 0 / 1.378 GB, free: 3.539 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002993/1.447, allocations: 0.7227 MB / 1.378 GB, free: 2.816 MB / 1.029 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.000329/1.447, allocations: 143 kB / 1.379 GB, free: 2.668 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.007753/1.455, allocations: 4.084 MB / 1.383 GB, free: 14.54 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/1.455, allocations: 0 / 1.383 GB, free: 14.54 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.005115/1.46, allocations: 2.632 MB / 1.385 GB, free: 11.87 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/1.461, allocations: 218.2 kB / 1.385 GB, free: 11.68 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006922/1.468, allocations: 4.086 MB / 1.389 GB, free: 7.535 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001737/1.47, allocations: 1.7 MB / 1.391 GB, free: 5.801 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0007501/1.471, allocations: 330.1 kB / 1.391 GB, free: 5.48 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/1.471, allocations: 59.42 kB / 1.391 GB, free: 5.426 MB / 1.045 GB Notification: Performance of SimCode: time 9.62e-07/1.471, allocations: 4 kB / 1.391 GB, free: 5.422 MB / 1.045 GB Notification: Performance of Templates: time 0.06639/1.537, allocations: 41.41 MB / 1.432 GB, free: 12.21 MB / 1.092 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.538329534232616]