Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001667/0.001667, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001993/0.001993, allocations: 194.2 kB / 22.17 MB, free: 5.656 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.554/1.554, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.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.782/2.782, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 67.89 kB / 1.109 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.732/0.7341, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01957/0.7536, allocations: 15.33 MB / 1.289 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01698/0.7706, allocations: 10.72 MB / 1.299 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.7719, allocations: 55.69 kB / 1.3 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004769/0.7766, allocations: 1.756 MB / 1.301 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00523/0.7819, allocations: 1.851 MB / 1.303 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.7839, allocations: 0.7692 MB / 1.304 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00407/0.788, allocations: 2.757 MB / 1.307 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.7895, allocations: 0.9973 MB / 1.307 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002114/0.7916, allocations: 1.527 MB / 1.309 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001823/0.7934, allocations: 1.226 MB / 1.31 GB, free: 15.42 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002335/0.7937, allocations: 160 kB / 1.31 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.7951, allocations: 0.8033 MB / 1.311 GB, free: 14.46 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006114/0.7957, allocations: 0.623 MB / 1.312 GB, free: 13.84 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009914/0.7967, allocations: 0.9561 MB / 1.313 GB, free: 12.88 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003162/0.7999, allocations: 2.771 MB / 1.315 GB, free: 10.09 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.7999, allocations: 0 / 1.315 GB, free: 10.09 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7999, allocations: 0 / 1.315 GB, free: 10.09 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.564e-05/0.7999, allocations: 7.938 kB / 1.315 GB, free: 10.09 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004081/0.804, allocations: 2.23 MB / 1.318 GB, free: 7.797 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.804, allocations: 12.03 kB / 1.318 GB, free: 7.785 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01243/0.8165, allocations: 2.113 MB / 1.32 GB, free: 5.668 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002912/0.8194, allocations: 1.316 MB / 1.321 GB, free: 4.297 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.747e-05/0.8195, allocations: 86.69 kB / 1.321 GB, free: 4.211 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002549/0.8197, allocations: 124.1 kB / 1.321 GB, free: 4.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006016/0.8257, allocations: 2.667 MB / 1.324 GB, free: 1.273 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.386e-05/0.8258, allocations: 15.88 kB / 1.324 GB, free: 1.258 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001762/0.8259, allocations: 51.98 kB / 1.324 GB, free: 1.207 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007106/0.8267, allocations: 194.1 kB / 1.324 GB, free: 1.016 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008143/0.8348, allocations: 2.791 MB / 1.327 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01563/0.8504, allocations: 10.48 MB / 1.337 GB, free: 3.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0072/0.8576, allocations: 2.254 MB / 1.339 GB, free: 0.8789 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003334/0.861, allocations: 1.213 MB / 1.34 GB, free: 15.66 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.245e-05/0.861, allocations: 13 kB / 1.34 GB, free: 15.65 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.8611, allocations: 43.56 kB / 1.34 GB, free: 15.6 MB / 1.045 GB Notification: Performance of pre-optimization done (n=89): time 2.795e-06/0.8611, allocations: 4 kB / 1.34 GB, free: 15.59 MB / 1.045 GB Notification: Performance of matching and sorting (n=153): time 0.06411/0.9252, allocations: 16.44 MB / 1.356 GB, free: 15 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.9252, allocations: 68.66 kB / 1.356 GB, free: 14.92 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/0.9268, allocations: 1.176 MB / 1.358 GB, free: 13.73 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001799/0.927, allocations: 49.7 kB / 1.358 GB, free: 13.68 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005928/0.9276, allocations: 0.7568 MB / 1.358 GB, free: 12.91 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.00053/0.9281, allocations: 0.5422 MB / 1.359 GB, free: 12.37 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005983/0.9287, allocations: 291.5 kB / 1.359 GB, free: 12.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.9289, allocations: 309.1 kB / 1.36 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003831/0.9327, allocations: 1.506 MB / 1.361 GB, free: 10.26 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004076/0.9368, allocations: 1.776 MB / 1.363 GB, free: 8.387 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007975/0.9447, allocations: 3.373 MB / 1.366 GB, free: 4.918 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.9447, allocations: 4 kB / 1.366 GB, free: 4.914 MB / 1.061 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.0143/0.959, allocations: 5.219 MB / 1.371 GB, free: 15.66 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.9591, allocations: 8 kB / 1.371 GB, free: 15.65 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.9591, allocations: 4 kB / 1.371 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006994/0.9661, allocations: 1.88 MB / 1.373 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/0.9682, allocations: 411.3 kB / 1.373 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03203/1, allocations: 24.15 MB / 1.397 GB, free: 4.078 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/1.003, allocations: 307.5 kB / 1.397 GB, free: 3.777 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/1.003, allocations: 71.95 kB / 1.397 GB, free: 3.707 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008741/1.004, allocations: 462 kB / 1.398 GB, free: 3.246 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003491/1.004, allocations: 186.8 kB / 1.398 GB, free: 3.062 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01458/1.019, allocations: 5.253 MB / 1.403 GB, free: 13.77 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/1.019, allocations: 16 kB / 1.403 GB, free: 13.75 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.039e-05/1.019, allocations: 16 kB / 1.403 GB, free: 13.73 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.94e-05/1.019, allocations: 11.97 kB / 1.403 GB, free: 13.72 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.018/1.037, allocations: 7.36 MB / 1.41 GB, free: 6.23 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.037, allocations: 4 kB / 1.41 GB, free: 6.227 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001836/1.039, allocations: 355.7 kB / 1.411 GB, free: 5.879 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006259/1.045, allocations: 1.7 MB / 1.412 GB, free: 4.156 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001521/1.045, allocations: 39.97 kB / 1.412 GB, free: 4.117 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03101/1.076, allocations: 23.33 MB / 1.435 GB, free: 11.68 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/1.076, allocations: 8.016 kB / 1.435 GB, free: 11.67 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/1.09, allocations: 4.837 MB / 1.44 GB, free: 6.746 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/1.091, allocations: 0.4958 MB / 1.44 GB, free: 6.23 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002853/1.091, allocations: 32.45 kB / 1.44 GB, free: 6.199 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002262/1.094, allocations: 315.5 kB / 1.441 GB, free: 5.891 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004942/1.094, allocations: 153 kB / 1.441 GB, free: 5.742 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001376/1.094, allocations: 51.97 kB / 1.441 GB, free: 5.691 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001104/1.095, allocations: 0.7938 MB / 1.442 GB, free: 4.898 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/1.095, allocations: 3.938 kB / 1.442 GB, free: 4.895 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002009/1.097, allocations: 0.6562 MB / 1.442 GB, free: 4.238 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003232/1.098, allocations: 139.1 kB / 1.442 GB, free: 4.09 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01189/1.11, allocations: 4.917 MB / 1.447 GB, free: 15.06 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.11, allocations: 4 kB / 1.447 GB, free: 15.06 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.007588/1.117, allocations: 3.261 MB / 1.45 GB, free: 11.7 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/1.12, allocations: 0.5641 MB / 1.451 GB, free: 11.15 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/1.13, allocations: 4.367 MB / 1.455 GB, free: 6.734 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001542/1.131, allocations: 1.564 MB / 1.457 GB, free: 5.137 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001418/1.133, allocations: 386.4 kB / 1.457 GB, free: 4.754 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003934/1.133, allocations: 111.4 kB / 1.457 GB, free: 4.645 MB / 1.154 GB Notification: Performance of SimCode: time 7.91e-07/1.133, allocations: 0 / 1.457 GB, free: 4.645 MB / 1.154 GB Notification: Performance of Templates: time 0.08219/1.215, allocations: 46.67 MB / 1.503 GB, free: 6.43 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.13601845363155]