Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 77.39 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002143/0.002143, allocations: 162.4 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.033/3.033, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 67.84 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8891/0.8912, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01036/0.9016, allocations: 9.67 MB / 1.196 GB, free: 10.09 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00496/0.9065, allocations: 3.016 MB / 1.199 GB, free: 8.105 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006767/0.9072, allocations: 46.28 kB / 1.199 GB, free: 8.086 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001792/0.909, allocations: 0.6909 MB / 1.2 GB, free: 7.699 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001591/0.9106, allocations: 0.7303 MB / 1.2 GB, free: 7.273 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.9121, allocations: 0.6342 MB / 1.201 GB, free: 6.949 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003087/0.9152, allocations: 2.735 MB / 1.204 GB, free: 5.781 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001847/0.917, allocations: 1.356 MB / 1.205 GB, free: 5.105 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001812/0.9188, allocations: 1.169 MB / 1.206 GB, free: 4.602 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002234/0.921, allocations: 1.431 MB / 1.208 GB, free: 4.098 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003971/0.9214, allocations: 217.1 kB / 1.208 GB, free: 4.098 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.9225, allocations: 460.8 kB / 1.208 GB, free: 4.016 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001089/0.9236, allocations: 1.002 MB / 1.209 GB, free: 3.629 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.9247, allocations: 0.8325 MB / 1.21 GB, free: 3.176 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004146/0.9288, allocations: 3.441 MB / 1.213 GB, free: 2.109 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.9288, allocations: 5.375 kB / 1.213 GB, free: 2.105 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9288, allocations: 0 / 1.213 GB, free: 2.105 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.275e-05/0.9289, allocations: 0 / 1.213 GB, free: 2.105 MB / 1.076 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.003952/0.9329, allocations: 1.911 MB / 1.215 GB, free: 0.957 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.9329, allocations: 8.969 kB / 1.215 GB, free: 0.957 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006177/0.9391, allocations: 0.9114 MB / 1.216 GB, free: 0.8203 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002724/0.9418, allocations: 1.128 MB / 1.217 GB, free: 232 kB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.374e-05/0.9419, allocations: 109.8 kB / 1.217 GB, free: 180 kB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004275/0.9423, allocations: 159.1 kB / 1.218 GB, free: 116 kB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005677/0.948, allocations: 3.092 MB / 1.221 GB, free: 14.85 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.69e-05/0.9481, allocations: 6.375 kB / 1.221 GB, free: 14.84 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002152/0.9483, allocations: 62.84 kB / 1.221 GB, free: 14.8 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002616/0.9485, allocations: 176.4 kB / 1.221 GB, free: 14.77 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005574/0.9541, allocations: 2.598 MB / 1.223 GB, free: 13.93 MB / 1.092 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.01772/0.9718, allocations: 9.047 MB / 1.232 GB, free: 8.805 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/0.9739, allocations: 1.223 MB / 1.233 GB, free: 8.27 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/0.9753, allocations: 0.9702 MB / 1.234 GB, free: 7.809 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 6.155e-05/0.9754, allocations: 9.375 kB / 1.234 GB, free: 7.809 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.9754, allocations: 46.39 kB / 1.234 GB, free: 7.758 MB / 1.092 GB Notification: Performance of pre-optimization done (n=82): time 3.066e-06/0.9754, allocations: 1.344 kB / 1.234 GB, free: 7.758 MB / 1.092 GB Notification: Performance of matching and sorting (n=139): time 0.07864/1.054, allocations: 18.9 MB / 1.253 GB, free: 15.53 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/1.054, allocations: 66.34 kB / 1.253 GB, free: 15.46 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/1.056, allocations: 0.9045 MB / 1.254 GB, free: 14.95 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003258/1.056, allocations: 46.45 kB / 1.254 GB, free: 14.91 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005932/1.057, allocations: 0.7497 MB / 1.255 GB, free: 14.24 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005817/1.057, allocations: 0.4995 MB / 1.255 GB, free: 13.8 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006003/1.058, allocations: 293.2 kB / 1.255 GB, free: 13.64 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002731/1.058, allocations: 352.7 kB / 1.256 GB, free: 13.3 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002101/1.06, allocations: 1.335 MB / 1.257 GB, free: 12.63 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002328/1.062, allocations: 1.655 MB / 1.259 GB, free: 11.58 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004742/1.067, allocations: 3.09 MB / 1.262 GB, free: 8.777 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-05/1.067, allocations: 8 kB / 1.262 GB, free: 8.77 MB / 1.107 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0129/1.08, allocations: 5.561 MB / 1.267 GB, free: 3.184 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/1.08, allocations: 8.656 kB / 1.267 GB, free: 3.176 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/1.08, allocations: 8 kB / 1.267 GB, free: 3.168 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009353/1.09, allocations: 2.716 MB / 1.27 GB, free: 452 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009225/1.09, allocations: 191.6 kB / 1.27 GB, free: 260 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03978/1.13, allocations: 24.85 MB / 1.294 GB, free: 7 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/1.132, allocations: 95.95 kB / 1.294 GB, free: 6.906 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/1.132, allocations: 52 kB / 1.294 GB, free: 6.855 MB / 1.139 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.001421/1.134, allocations: 0.7431 MB / 1.295 GB, free: 6.102 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/1.134, allocations: 115.3 kB / 1.295 GB, free: 5.988 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/1.146, allocations: 5.31 MB / 1.3 GB, free: 0.6445 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/1.146, allocations: 19.94 kB / 1.3 GB, free: 0.625 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.901e-05/1.146, allocations: 16 kB / 1.3 GB, free: 0.6094 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.286e-05/1.146, allocations: 7.969 kB / 1.3 GB, free: 0.6016 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01731/1.163, allocations: 7.952 MB / 1.308 GB, free: 8.543 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/1.163, allocations: 4.469 kB / 1.308 GB, free: 8.539 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004993/1.164, allocations: 127.8 kB / 1.308 GB, free: 8.414 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009011/1.173, allocations: 2.587 MB / 1.311 GB, free: 5.816 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001909/1.173, allocations: 24 kB / 1.311 GB, free: 5.793 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03729/1.21, allocations: 23.32 MB / 1.334 GB, free: 14.05 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/1.21, allocations: 8.172 kB / 1.334 GB, free: 14.04 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01213/1.222, allocations: 5.171 MB / 1.339 GB, free: 8.789 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/1.224, allocations: 427 kB / 1.339 GB, free: 8.371 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002403/1.224, allocations: 31.94 kB / 1.339 GB, free: 8.34 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/1.225, allocations: 75.91 kB / 1.339 GB, free: 8.266 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005708/1.225, allocations: 136.8 kB / 1.339 GB, free: 8.129 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/1.226, allocations: 36 kB / 1.339 GB, free: 8.094 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009474/1.227, allocations: 0.6239 MB / 1.34 GB, free: 7.477 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/1.227, allocations: 4 kB / 1.34 GB, free: 7.473 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002623/1.229, allocations: 0.7188 MB / 1.341 GB, free: 6.754 MB / 1.186 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.0002608/1.229, allocations: 139.1 kB / 1.341 GB, free: 6.609 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.007618/1.237, allocations: 4.082 MB / 1.345 GB, free: 2.477 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/1.237, allocations: 0 / 1.345 GB, free: 2.477 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.005607/1.243, allocations: 2.619 MB / 1.347 GB, free: 15.8 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/1.244, allocations: 215.5 kB / 1.347 GB, free: 15.6 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007077/1.251, allocations: 4.076 MB / 1.351 GB, free: 11.46 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001579/1.253, allocations: 1.109 MB / 1.353 GB, free: 10.32 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008596/1.254, allocations: 325.2 kB / 1.353 GB, free: 9.996 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/1.254, allocations: 60.48 kB / 1.353 GB, free: 9.938 MB / 1.201 GB Notification: Performance of SimCode: time 6.31e-07/1.254, allocations: 0 / 1.353 GB, free: 9.938 MB / 1.201 GB Notification: Performance of Templates: time 0.06752/1.321, allocations: 41.85 MB / 1.394 GB, free: 308 kB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.162236234056763]