Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 225.6 MB / 249.9 MB, free: 3.219 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.833/2.833, allocations: 443.5 MB / 0.731 GB, free: 13.94 MB / 0.5762 GB [Timeout remaining time 86] 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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.003331/0.003331, allocations: 67.89 kB / 1.06 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3491, allocations: 160.7 MB / 1.217 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02761/0.3768, allocations: 22.95 MB / 1.239 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01187/0.3886, allocations: 6.279 MB / 1.245 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002552/0.3912, allocations: 95.5 kB / 1.245 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004642/0.3958, allocations: 1.59 MB / 1.247 GB, free: 476 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004944/0.4008, allocations: 1.723 MB / 1.248 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003908/0.4047, allocations: 1.376 MB / 1.25 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007944/0.4126, allocations: 5.939 MB / 1.256 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00656/0.4192, allocations: 4.483 MB / 1.26 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004802/0.424, allocations: 2.45 MB / 1.262 GB, free: 392 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6419/1.066, allocations: 3.057 MB / 1.265 GB, free: 20.47 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001713/1.068, allocations: 457.7 kB / 1.266 GB, free: 20.47 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003384/1.071, allocations: 1.117 MB / 1.267 GB, free: 20.47 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003669/1.075, allocations: 2.088 MB / 1.269 GB, free: 20.4 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004849/1.079, allocations: 2.165 MB / 1.271 GB, free: 19.85 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01369/1.093, allocations: 7.318 MB / 1.278 GB, free: 19.11 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/1.093, allocations: 3.938 kB / 1.278 GB, free: 19.11 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.777e-06/1.093, allocations: 1.656 kB / 1.278 GB, free: 19.11 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003419/1.093, allocations: 0 / 1.278 GB, free: 19.11 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01703/1.111, allocations: 3.917 MB / 1.282 GB, free: 17.43 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/1.111, allocations: 10.42 kB / 1.282 GB, free: 17.43 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00886/1.119, allocations: 1.222 MB / 1.283 GB, free: 17.22 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007057/1.126, allocations: 2.354 MB / 1.285 GB, free: 16.66 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003076/1.127, allocations: 242.7 kB / 1.286 GB, free: 16.65 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002357/1.129, allocations: 316.5 kB / 1.286 GB, free: 16.65 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02081/1.15, allocations: 6.216 MB / 1.292 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001426/1.15, allocations: 17.17 kB / 1.292 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007816/1.151, allocations: 141.2 kB / 1.292 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006965/1.152, allocations: 409.4 kB / 1.293 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01404/1.166, allocations: 4.658 MB / 1.297 GB, free: 15.01 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.04466/1.21, allocations: 28.98 MB / 1.325 GB, free: 7.852 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002626/1.213, allocations: 1.375 MB / 1.327 GB, free: 7.359 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002431/1.215, allocations: 1.443 MB / 1.328 GB, free: 6.859 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/1.216, allocations: 10.78 kB / 1.328 GB, free: 6.859 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.289e-05/1.216, allocations: 48.09 kB / 1.328 GB, free: 6.805 MB / 1.014 GB Notification: Performance of pre-optimization done (n=110): time 3.026e-06/1.216, allocations: 0 / 1.328 GB, free: 6.805 MB / 1.014 GB Notification: Performance of matching and sorting (n=179): time 0.1413/1.357, allocations: 37.15 MB / 1.365 GB, free: 4.668 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.67e-05/1.357, allocations: 77.39 kB / 1.365 GB, free: 4.578 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003143/1.36, allocations: 1.422 MB / 1.366 GB, free: 3.152 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.000482/1.361, allocations: 57.7 kB / 1.366 GB, free: 3.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001425/1.362, allocations: 1.585 MB / 1.368 GB, free: 1.496 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001051/1.363, allocations: 0.6389 MB / 1.368 GB, free: 0.8672 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001178/1.364, allocations: 383.5 kB / 1.369 GB, free: 496 kB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.364, allocations: 305.1 kB / 1.369 GB, free: 188 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00305/1.367, allocations: 1.785 MB / 1.371 GB, free: 14.39 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003591/1.371, allocations: 2.351 MB / 1.373 GB, free: 11.8 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006919/1.378, allocations: 4.396 MB / 1.377 GB, free: 7.234 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.118e-05/1.378, allocations: 4 kB / 1.377 GB, free: 7.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01975/1.398, allocations: 8.42 MB / 1.385 GB, free: 14.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.627e-05/1.398, allocations: 19.94 kB / 1.385 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.381e-05/1.398, allocations: 16 kB / 1.386 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01549/1.413, allocations: 4.632 MB / 1.39 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/1.415, allocations: 310.5 kB / 1.39 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05337/1.468, allocations: 32.62 MB / 1.422 GB, free: 8.656 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002848/1.471, allocations: 151.8 kB / 1.422 GB, free: 8.508 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000684/1.472, allocations: 80 kB / 1.422 GB, free: 8.43 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004309/1.476, allocations: 1.334 MB / 1.424 GB, free: 7.109 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009117/1.477, allocations: 210.7 kB / 1.424 GB, free: 6.902 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02039/1.497, allocations: 8.293 MB / 1.432 GB, free: 14.67 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-05/1.497, allocations: 16 kB / 1.432 GB, free: 14.66 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001083/1.497, allocations: 28.25 kB / 1.432 GB, free: 14.63 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-05/1.497, allocations: 7.969 kB / 1.432 GB, free: 14.62 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03279/1.53, allocations: 12.7 MB / 1.444 GB, free: 1.938 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.465e-05/1.53, allocations: 8 kB / 1.444 GB, free: 1.93 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008464/1.531, allocations: 167.4 kB / 1.445 GB, free: 1.773 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01552/1.547, allocations: 4.488 MB / 1.449 GB, free: 13.27 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004766/1.547, allocations: 35.75 kB / 1.449 GB, free: 13.24 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0529/1.6, allocations: 32.23 MB / 1.481 GB, free: 12.25 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/1.6, allocations: 14.72 kB / 1.481 GB, free: 12.24 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01903/1.619, allocations: 8.09 MB / 1.488 GB, free: 4.141 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002179/1.621, allocations: 0.6284 MB / 1.489 GB, free: 3.492 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008294/1.622, allocations: 43.88 kB / 1.489 GB, free: 3.449 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/1.624, allocations: 142.6 kB / 1.489 GB, free: 3.312 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009227/1.625, allocations: 167.7 kB / 1.489 GB, free: 3.156 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002118/1.625, allocations: 48 kB / 1.489 GB, free: 3.109 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002014/1.627, allocations: 0.9626 MB / 1.49 GB, free: 2.152 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.627, allocations: 0 / 1.49 GB, free: 2.152 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.005519/1.633, allocations: 1.117 MB / 1.491 GB, free: 1.035 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005052/1.633, allocations: 153.7 kB / 1.492 GB, free: 0.8867 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01371/1.647, allocations: 6.312 MB / 1.498 GB, free: 10.59 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/1.647, allocations: 0.875 kB / 1.498 GB, free: 10.59 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.009877/1.657, allocations: 4.181 MB / 1.502 GB, free: 6.367 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003649/1.66, allocations: 0.5276 MB / 1.502 GB, free: 5.863 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01662/1.677, allocations: 7.512 MB / 1.51 GB, free: 14.27 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004081/1.681, allocations: 2.809 MB / 1.512 GB, free: 11.43 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004727/1.681, allocations: 99.44 kB / 1.513 GB, free: 11.33 MB / 1.186 GB Notification: Performance of SimCode: time 1.002e-06/1.681, allocations: 0 / 1.513 GB, free: 11.33 MB / 1.186 GB Notification: Performance of Templates: time 0.1987/1.88, allocations: 154.4 MB / 1.663 GB, free: 0.9883 MB / 1.326 GB [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches