Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.001773/0.001773, allocations: 110 kB / 18.93 MB, free: 2.945 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.002094/0.002094, allocations: 191.7 kB / 22.23 MB, free: 5.16 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.484/1.484, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.665/2.665, allocations: 443.5 MB / 0.7321 GB, free: 12.24 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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_N,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_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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,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_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_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 71.83 kB / 1.061 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8486/0.851, allocations: 160.8 MB / 1.218 GB, free: 3.68 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03339/0.8844, allocations: 24.46 MB / 1.242 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01596/0.9003, allocations: 6.66 MB / 1.249 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003201/0.9035, allocations: 127 kB / 1.249 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.005162/0.9087, allocations: 1.566 MB / 1.251 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.007005/0.9157, allocations: 1.937 MB / 1.252 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004796/0.9205, allocations: 1.511 MB / 1.254 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01027/0.9308, allocations: 6.905 MB / 1.261 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006921/0.9377, allocations: 3.498 MB / 1.264 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006007/0.9437, allocations: 2.906 MB / 1.267 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007465/0.9512, allocations: 3.735 MB / 1.271 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001822/0.953, allocations: 0.5273 MB / 1.271 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003807/0.9568, allocations: 1.198 MB / 1.272 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.004019/0.9608, allocations: 2.537 MB / 1.275 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.005847/0.9667, allocations: 2.54 MB / 1.277 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01341/0.9801, allocations: 8.537 MB / 1.286 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.9801, allocations: 0 / 1.286 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.314e-06/0.9801, allocations: 0 / 1.286 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002984/0.9804, allocations: 0 / 1.286 GB, free: 2.297 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01396/0.9943, allocations: 4.551 MB / 1.29 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.9944, allocations: 12.03 kB / 1.29 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00937/1.004, allocations: 1.699 MB / 1.292 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00827/1.012, allocations: 2.709 MB / 1.294 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003152/1.012, allocations: 275.7 kB / 1.295 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001454/1.014, allocations: 368.2 kB / 1.295 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01702/1.031, allocations: 7.487 MB / 1.302 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/1.031, allocations: 11.94 kB / 1.302 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005331/1.031, allocations: 155.9 kB / 1.302 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006371/1.032, allocations: 491.3 kB / 1.303 GB, free: 172 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01275/1.045, allocations: 5.697 MB / 1.308 GB, free: 10.46 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04742/1.092, allocations: 31.54 MB / 1.339 GB, free: 8.156 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003587/1.096, allocations: 2.028 MB / 1.341 GB, free: 6.121 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003596/1.099, allocations: 2.108 MB / 1.343 GB, free: 4.008 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002198/1.1, allocations: 13.31 kB / 1.343 GB, free: 3.992 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/1.1, allocations: 55.88 kB / 1.343 GB, free: 3.93 MB / 1.045 GB Notification: Performance of pre-optimization done (n=146): time 3.566e-06/1.1, allocations: 0 / 1.343 GB, free: 3.93 MB / 1.045 GB Notification: Performance of matching and sorting (n=251): time 0.2922/1.392, allocations: 76.79 MB / 1.418 GB, free: 6.996 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/1.392, allocations: 77.41 kB / 1.418 GB, free: 6.906 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002727/1.395, allocations: 1.678 MB / 1.42 GB, free: 5.184 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004971/1.395, allocations: 65.7 kB / 1.42 GB, free: 5.113 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001497/1.397, allocations: 1.795 MB / 1.422 GB, free: 3.305 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001209/1.398, allocations: 0.8985 MB / 1.423 GB, free: 2.398 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001059/1.399, allocations: 485.3 kB / 1.423 GB, free: 1.918 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.399, allocations: 305.1 kB / 1.423 GB, free: 1.617 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004344/1.403, allocations: 2.73 MB / 1.426 GB, free: 14.88 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004996/1.408, allocations: 3.336 MB / 1.429 GB, free: 11.3 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/1.419, allocations: 6.393 MB / 1.436 GB, free: 4.664 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/1.419, allocations: 4 kB / 1.436 GB, free: 4.66 MB / 1.139 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03983/1.458, allocations: 14.4 MB / 1.45 GB, free: 6.203 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.124e-05/1.459, allocations: 20.05 kB / 1.45 GB, free: 6.184 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.277e-05/1.459, allocations: 16 kB / 1.45 GB, free: 6.168 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03365/1.492, allocations: 9.24 MB / 1.459 GB, free: 12.9 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/1.494, allocations: 295.5 kB / 1.459 GB, free: 12.61 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0899/1.583, allocations: 52.41 MB / 1.51 GB, free: 7.328 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003351/1.587, allocations: 223.7 kB / 1.51 GB, free: 7.109 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004028/1.587, allocations: 96 kB / 1.51 GB, free: 7.016 MB / 1.217 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003257/1.59, allocations: 1.589 MB / 1.512 GB, free: 5.418 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006715/1.591, allocations: 262.5 kB / 1.512 GB, free: 5.16 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03453/1.626, allocations: 14.47 MB / 1.526 GB, free: 6.633 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-05/1.626, allocations: 24 kB / 1.526 GB, free: 6.609 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001455/1.626, allocations: 44 kB / 1.526 GB, free: 6.566 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.367e-05/1.626, allocations: 11.95 kB / 1.527 GB, free: 6.555 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04647/1.672, allocations: 20.25 MB / 1.546 GB, free: 2.098 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-05/1.672, allocations: 4 kB / 1.546 GB, free: 2.094 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008085/1.673, allocations: 167.7 kB / 1.546 GB, free: 1.93 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03039/1.704, allocations: 9 MB / 1.555 GB, free: 8.898 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004383/1.704, allocations: 48 kB / 1.555 GB, free: 8.852 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08503/1.789, allocations: 51.96 MB / 1.606 GB, free: 4.012 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-06/1.789, allocations: 8 kB / 1.606 GB, free: 4.004 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8132/2.602, allocations: 14.09 MB / 1.62 GB, free: 361.3 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003068/2.605, allocations: 0.8521 MB / 1.621 GB, free: 361.2 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001035/2.606, allocations: 51.78 kB / 1.621 GB, free: 361.2 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002547/2.609, allocations: 210.3 kB / 1.621 GB, free: 361.2 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001589/2.611, allocations: 261.5 kB / 1.621 GB, free: 361.2 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002603/2.611, allocations: 66.78 kB / 1.621 GB, free: 361.2 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001977/2.613, allocations: 1.123 MB / 1.622 GB, free: 361 MB / 1.311 GB Notification: Performance of sort global known variables: time 8.1e-08/2.613, allocations: 0 / 1.622 GB, free: 361 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.006791/2.62, allocations: 1.615 MB / 1.624 GB, free: 361 MB / 1.311 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006103/2.62, allocations: 160.2 kB / 1.624 GB, free: 360.9 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.02089/2.641, allocations: 10.21 MB / 1.634 GB, free: 358.6 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.41e-05/2.641, allocations: 3.938 kB / 1.634 GB, free: 358.6 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.01561/2.657, allocations: 7.01 MB / 1.641 GB, free: 356.3 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003309/2.66, allocations: 0.5533 MB / 1.641 GB, free: 356.1 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/2.675, allocations: 8.922 MB / 1.65 GB, free: 352.2 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003555/2.678, allocations: 3.218 MB / 1.653 GB, free: 349.8 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001179/2.679, allocations: 392.6 kB / 1.654 GB, free: 349.6 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/2.68, allocations: 99.16 kB / 1.654 GB, free: 349.5 MB / 1.311 GB Notification: Performance of SimCode: time 1.442e-06/2.68, allocations: 4 kB / 1.654 GB, free: 349.5 MB / 1.311 GB Notification: Performance of Templates: time 0.106/2.786, allocations: 96.07 MB / 1.748 GB, free: 254.3 MB / 1.311 GB " [Timeout remaining time 297] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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: 12.438349065370858]