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.001374/0.001374, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.001596/0.001596, allocations: 157.7 kB / 22.75 MB, free: 1.68 MB / 18.57 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.485/1.485, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.281/3.281, allocations: 429.6 MB / 0.673 GB, free: 3.906 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.131e-05, allocations: 6.25 kB / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01483/0.01486, allocations: 9.493 MB / 0.8869 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00626/0.02112, allocations: 3.006 MB / 0.8898 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006976/0.02182, allocations: 47.69 kB / 0.8899 GB, free: 9.938 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002209/0.02403, allocations: 0.6938 MB / 0.8905 GB, free: 9.242 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001957/0.02598, allocations: 0.7398 MB / 0.8913 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.02768, allocations: 0.6508 MB / 0.8919 GB, free: 7.852 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003922/0.03161, allocations: 2.777 MB / 0.8946 GB, free: 5.062 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002396/0.034, allocations: 1.371 MB / 0.8959 GB, free: 3.652 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002463/0.03646, allocations: 1.586 MB / 0.8975 GB, free: 2.062 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00211/0.03857, allocations: 1.36 MB / 0.8988 GB, free: 0.6992 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0003347/0.03891, allocations: 216 kB / 0.899 GB, free: 500 kB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009302/0.03984, allocations: 467.2 kB / 0.8995 GB, free: 32 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001401/0.04124, allocations: 1.052 MB / 0.9005 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009758/0.04222, allocations: 0.7095 MB / 0.9012 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.004082/0.0463, allocations: 3.498 MB / 0.9046 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.0463, allocations: 4 kB / 0.9046 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.723e-06/0.0463, allocations: 0 / 0.9046 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.257e-05/0.04634, allocations: 0 / 0.9046 GB, free: 10.75 MB / 0.8698 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.0037/0.05004, allocations: 1.897 MB / 0.9065 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.05007, allocations: 11.97 kB / 0.9065 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006335/0.05641, allocations: 1.205 MB / 0.9077 GB, free: 7.598 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/0.05871, allocations: 1.167 MB / 0.9088 GB, free: 6.398 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.05882, allocations: 111.3 kB / 0.9089 GB, free: 6.289 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003069/0.05913, allocations: 140.4 kB / 0.909 GB, free: 6.152 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005397/0.06453, allocations: 3.089 MB / 0.9121 GB, free: 2.945 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.659e-05/0.06457, allocations: 16.09 kB / 0.9121 GB, free: 2.93 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/0.06478, allocations: 64.36 kB / 0.9121 GB, free: 2.867 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002616/0.06504, allocations: 178.9 kB / 0.9123 GB, free: 2.691 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00486/0.0699, allocations: 2.604 MB / 0.9148 GB, free: 84 kB / 0.8698 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.01574/0.08564, allocations: 9.096 MB / 0.9237 GB, free: 6.766 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/0.08781, allocations: 1.222 MB / 0.9249 GB, free: 5.535 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001561/0.08937, allocations: 0.98 MB / 0.9259 GB, free: 4.551 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-05/0.08944, allocations: 12.66 kB / 0.9259 GB, free: 4.539 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.08947, allocations: 39.22 kB / 0.9259 GB, free: 4.492 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=82): time 2.534e-06/0.08948, allocations: 4 kB / 0.9259 GB, free: 4.488 MB / 0.8855 GB Notification: Performance of matching and sorting (n=139): time 0.07706/0.1665, allocations: 18.92 MB / 0.9444 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.1666, allocations: 64.72 kB / 0.9445 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/0.1681, allocations: 0.9064 MB / 0.9454 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001646/0.1682, allocations: 53.7 kB / 0.9454 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006925/0.1689, allocations: 0.7423 MB / 0.9461 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006153/0.1695, allocations: 0.4996 MB / 0.9466 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006666/0.1702, allocations: 291.5 kB / 0.9469 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002289/0.1704, allocations: 357.9 kB / 0.9472 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002258/0.1727, allocations: 1.331 MB / 0.9485 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002822/0.1755, allocations: 1.663 MB / 0.9502 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004998/0.1805, allocations: 3.082 MB / 0.9532 GB, free: 8.273 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.1805, allocations: 4 kB / 0.9532 GB, free: 8.27 MB / 0.9167 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01376/0.1943, allocations: 5.616 MB / 0.9587 GB, free: 2.625 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.1943, allocations: 12 kB / 0.9587 GB, free: 2.613 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/0.1943, allocations: 8 kB / 0.9587 GB, free: 2.605 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01059/0.2049, allocations: 2.839 MB / 0.9614 GB, free: 15.76 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008921/0.2058, allocations: 187.7 kB / 0.9616 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04495/0.2508, allocations: 24.93 MB / 0.986 GB, free: 6.242 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.2523, allocations: 95.94 kB / 0.9861 GB, free: 6.148 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002953/0.2526, allocations: 60 kB / 0.9861 GB, free: 6.09 MB / 0.948 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.001527/0.2541, allocations: 0.7315 MB / 0.9868 GB, free: 5.348 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004604/0.2546, allocations: 163.3 kB / 0.987 GB, free: 5.188 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0142/0.2688, allocations: 5.306 MB / 0.9922 GB, free: 15.85 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.446e-05/0.2688, allocations: 12 kB / 0.9922 GB, free: 15.84 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.226e-05/0.2688, allocations: 20 kB / 0.9922 GB, free: 15.82 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.082e-05/0.2689, allocations: 11.91 kB / 0.9922 GB, free: 15.8 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02521/0.2941, allocations: 7.975 MB / 1 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/0.2941, allocations: 0 / 1 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005223/0.2946, allocations: 123.8 kB / 1 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01019/0.3048, allocations: 2.688 MB / 1.003 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001915/0.305, allocations: 24 kB / 1.003 GB, free: 4.883 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04137/0.3464, allocations: 23.4 MB / 1.026 GB, free: 13.07 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/0.3464, allocations: 4 kB / 1.026 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01316/0.3595, allocations: 5.202 MB / 1.031 GB, free: 7.777 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/0.3607, allocations: 439 kB / 1.031 GB, free: 7.348 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003508/0.3611, allocations: 31.98 kB / 1.031 GB, free: 7.316 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.3622, allocations: 76.28 kB / 1.031 GB, free: 7.242 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006079/0.3628, allocations: 136.8 kB / 1.031 GB, free: 7.109 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/0.3629, allocations: 36 kB / 1.031 GB, free: 7.074 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001102/0.364, allocations: 0.62 MB / 1.032 GB, free: 6.457 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.364, allocations: 0 / 1.032 GB, free: 6.457 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002838/0.3669, allocations: 0.7227 MB / 1.033 GB, free: 5.734 MB / 0.9948 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.000338/0.3672, allocations: 143 kB / 1.033 GB, free: 5.582 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.008561/0.3758, allocations: 4.071 MB / 1.037 GB, free: 1.461 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.3758, allocations: 8.125 kB / 1.037 GB, free: 1.453 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.006016/0.3818, allocations: 2.617 MB / 1.039 GB, free: 14.78 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.3833, allocations: 211 kB / 1.04 GB, free: 14.58 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008285/0.3916, allocations: 4.103 MB / 1.044 GB, free: 10.41 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001845/0.3935, allocations: 1.109 MB / 1.045 GB, free: 9.258 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009037/0.3944, allocations: 321.2 kB / 1.045 GB, free: 8.941 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.3946, allocations: 56.5 kB / 1.045 GB, free: 8.887 MB / 1.01 GB Notification: Performance of SimCode: time 1.002e-06/0.3946, allocations: 0 / 1.045 GB, free: 8.887 MB / 1.01 GB Notification: Performance of Templates: time 0.3977/0.7923, allocations: 42.01 MB / 1.086 GB, free: 201.1 MB / 1.01 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 -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/jenkins/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: 9.500354692921974]