Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001922/0.001922, allocations: 113.9 kB / 17.6 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.002081/0.002081, allocations: 189.9 kB / 20.78 MB, free: 1.512 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.498/1.498, allocations: 225.6 MB / 249.4 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.757/2.757, allocations: 476.7 MB / 0.7629 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.91 kB / 1.107 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.005, allocations: 168.7 MB / 1.272 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03377/1.039, allocations: 27.93 MB / 1.299 GB, free: 5.477 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01715/1.056, allocations: 8.339 MB / 1.307 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00388/1.06, allocations: 119.2 kB / 1.308 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.008669/1.069, allocations: 2.869 MB / 1.31 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006027/1.075, allocations: 1.662 MB / 1.312 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007429/1.082, allocations: 1.728 MB / 1.314 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01075/1.093, allocations: 6.137 MB / 1.32 GB, free: 9.297 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008044/1.101, allocations: 3.605 MB / 1.323 GB, free: 7.469 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006343/1.107, allocations: 2.61 MB / 1.326 GB, free: 6.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00746/1.115, allocations: 2.996 MB / 1.329 GB, free: 5.023 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.002797/1.117, allocations: 0.5092 MB / 1.329 GB, free: 5.023 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005691/1.123, allocations: 1.307 MB / 1.33 GB, free: 4.719 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.006081/1.129, allocations: 2.103 MB / 1.332 GB, free: 3.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.008998/1.138, allocations: 2.388 MB / 1.335 GB, free: 2.285 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01583/1.154, allocations: 8.075 MB / 1.343 GB, free: 14.56 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/1.154, allocations: 0 / 1.343 GB, free: 14.56 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.963e-06/1.154, allocations: 1.094 kB / 1.343 GB, free: 14.56 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0003225/1.154, allocations: 0 / 1.343 GB, free: 14.56 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01633/1.171, allocations: 4.346 MB / 1.347 GB, free: 11.57 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/1.171, allocations: 9.625 kB / 1.347 GB, free: 11.57 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005672/1.176, allocations: 0.8159 MB / 1.348 GB, free: 11.18 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006509/1.183, allocations: 2.592 MB / 1.35 GB, free: 9.457 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002624/1.183, allocations: 277.6 kB / 1.351 GB, free: 9.328 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001119/1.184, allocations: 378.3 kB / 1.351 GB, free: 9.195 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01269/1.197, allocations: 5.994 MB / 1.357 GB, free: 5.449 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001175/1.197, allocations: 15.19 kB / 1.357 GB, free: 5.441 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004642/1.198, allocations: 159.6 kB / 1.357 GB, free: 5.324 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006317/1.198, allocations: 284.3 kB / 1.357 GB, free: 5.25 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01297/1.211, allocations: 4.522 MB / 1.362 GB, free: 2.922 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03944/1.251, allocations: 27.5 MB / 1.388 GB, free: 9.309 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/1.252, allocations: 1.062 MB / 1.389 GB, free: 8.746 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/1.254, allocations: 0.9583 MB / 1.39 GB, free: 8.266 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.28e-05/1.254, allocations: 10.88 kB / 1.39 GB, free: 8.262 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/1.254, allocations: 53.17 kB / 1.39 GB, free: 8.207 MB / 1.076 GB Notification: Performance of pre-optimization done (n=110): time 3.266e-06/1.254, allocations: 4.875 kB / 1.39 GB, free: 8.203 MB / 1.076 GB Notification: Performance of matching and sorting (n=131): time 0.02388/1.278, allocations: 9.693 MB / 1.4 GB, free: 14.87 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/1.278, allocations: 68.72 kB / 1.4 GB, free: 14.79 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002374/1.28, allocations: 1.494 MB / 1.401 GB, free: 13.3 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001803/1.28, allocations: 57.64 kB / 1.402 GB, free: 13.24 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001329/1.282, allocations: 1.711 MB / 1.403 GB, free: 11.51 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005358/1.282, allocations: 495.8 kB / 1.404 GB, free: 11.02 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005796/1.283, allocations: 335.4 kB / 1.404 GB, free: 10.68 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.283, allocations: 305.1 kB / 1.404 GB, free: 10.38 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/1.284, allocations: 0.9135 MB / 1.405 GB, free: 9.469 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/1.286, allocations: 1.463 MB / 1.407 GB, free: 7.766 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003498/1.29, allocations: 2.546 MB / 1.409 GB, free: 4.977 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/1.29, allocations: 8 kB / 1.409 GB, free: 4.969 MB / 1.092 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006257/1.296, allocations: 3.275 MB / 1.412 GB, free: 1.656 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/1.296, allocations: 12 kB / 1.412 GB, free: 1.645 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.733e-05/1.296, allocations: 20 kB / 1.412 GB, free: 1.625 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002441/1.299, allocations: 0.7458 MB / 1.413 GB, free: 0.8516 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/1.3, allocations: 383.4 kB / 1.413 GB, free: 488 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01791/1.318, allocations: 17.06 MB / 1.43 GB, free: 14.16 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/1.32, allocations: 99.91 kB / 1.43 GB, free: 14.06 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/1.32, allocations: 75.94 kB / 1.43 GB, free: 13.99 MB / 1.123 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002696/1.323, allocations: 1.305 MB / 1.432 GB, free: 12.67 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004567/1.324, allocations: 210.7 kB / 1.432 GB, free: 12.46 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00539/1.329, allocations: 2.769 MB / 1.434 GB, free: 9.656 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/1.329, allocations: 12 kB / 1.434 GB, free: 9.645 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/1.329, allocations: 8 kB / 1.434 GB, free: 9.637 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/1.329, allocations: 7.969 kB / 1.434 GB, free: 9.629 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/1.341, allocations: 6.194 MB / 1.44 GB, free: 3.266 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/1.341, allocations: 8.188 kB / 1.44 GB, free: 3.258 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/1.342, allocations: 235.6 kB / 1.441 GB, free: 3.027 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00215/1.344, allocations: 0.6673 MB / 1.441 GB, free: 2.332 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/1.344, allocations: 28 kB / 1.441 GB, free: 2.305 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01751/1.362, allocations: 16.8 MB / 1.458 GB, free: 252 kB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.362, allocations: 4 kB / 1.458 GB, free: 248 kB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007102/1.369, allocations: 3.99 MB / 1.462 GB, free: 12.14 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/1.37, allocations: 463.7 kB / 1.462 GB, free: 11.67 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002757/1.37, allocations: 43.88 kB / 1.462 GB, free: 11.63 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009416/1.371, allocations: 84.02 kB / 1.462 GB, free: 11.55 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003726/1.372, allocations: 124.6 kB / 1.462 GB, free: 11.42 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.814e-05/1.372, allocations: 36 kB / 1.462 GB, free: 11.39 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001509/1.373, allocations: 0.9942 MB / 1.463 GB, free: 10.4 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/1.373, allocations: 0 / 1.463 GB, free: 10.4 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002632/1.376, allocations: 0.6875 MB / 1.464 GB, free: 9.715 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003042/1.376, allocations: 157.4 kB / 1.464 GB, free: 9.551 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.005624/1.382, allocations: 3.37 MB / 1.468 GB, free: 6.074 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/1.382, allocations: 8 kB / 1.468 GB, free: 6.066 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003431/1.385, allocations: 2.248 MB / 1.47 GB, free: 3.699 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003215/1.388, allocations: 0.6665 MB / 1.47 GB, free: 3.055 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/1.401, allocations: 6.659 MB / 1.477 GB, free: 12.3 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002995/1.404, allocations: 2.668 MB / 1.479 GB, free: 9.602 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001627/1.405, allocations: 485.4 kB / 1.48 GB, free: 9.125 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/1.406, allocations: 119.4 kB / 1.48 GB, free: 9.008 MB / 1.17 GB Notification: Performance of SimCode: time 1.363e-06/1.406, allocations: 0 / 1.48 GB, free: 9.008 MB / 1.17 GB Notification: Performance of Templates: time 0.06629/1.472, allocations: 35.13 MB / 1.514 GB, free: 6.359 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.230392730794847]