Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.00177/0.00177, allocations: 79.2 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001647/0.001647, allocations: 163.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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.476/1.476, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.917/2.917, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.ThreePhasesBalanced.Lines.Examples.ACLine_L,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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.429e-05/3.611e-05, allocations: 6.281 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.009068/0.009104, allocations: 5.903 MB / 0.9872 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006418/0.01552, allocations: 3.106 MB / 0.9902 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006521/0.01617, allocations: 43.56 kB / 0.9903 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003409/0.01958, allocations: 0.9296 MB / 0.9912 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.02093, allocations: 0.5009 MB / 0.9917 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.02224, allocations: 0.5171 MB / 0.9922 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001437/0.02367, allocations: 1.124 MB / 0.9933 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008168/0.02449, allocations: 0.5061 MB / 0.9938 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008611/0.02535, allocations: 0.6154 MB / 0.9944 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006528/0.02601, allocations: 426.8 kB / 0.9948 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.02611, allocations: 56 kB / 0.9948 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008741/0.02699, allocations: 446.8 kB / 0.9952 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003316/0.02732, allocations: 319 kB / 0.9955 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003427/0.02766, allocations: 267.3 kB / 0.9958 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.02914, allocations: 1.211 MB / 0.997 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.02915, allocations: 0 / 0.997 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.202e-06/0.02915, allocations: 0 / 0.997 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.02916, allocations: 0 / 0.997 GB, free: 11.98 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001797/0.03095, allocations: 1.003 MB / 0.998 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.031, allocations: 8.031 kB / 0.998 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/0.03255, allocations: 232.1 kB / 0.9982 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009697/0.03352, allocations: 0.5314 MB / 0.9987 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.485e-05/0.03357, allocations: 45.67 kB / 0.9988 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.03369, allocations: 72.31 kB / 0.9988 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.03532, allocations: 1.123 MB / 0.9999 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/0.03535, allocations: 12.12 kB / 0.9999 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.579e-05/0.03544, allocations: 28.36 kB / 1 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/0.03554, allocations: 77.14 kB / 1 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.03666, allocations: 0.6918 MB / 1.001 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004959/0.04161, allocations: 4.39 MB / 1.005 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000838/0.04245, allocations: 402.4 kB / 1.005 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008926/0.04334, allocations: 392.6 kB / 1.006 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.04338, allocations: 4 kB / 1.006 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.04341, allocations: 35.25 kB / 1.006 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=41): time 1.673e-06/0.04341, allocations: 0 / 1.006 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=42): time 0.004499/0.04791, allocations: 1.729 MB / 1.007 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.04796, allocations: 63.34 kB / 1.008 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005017/0.04846, allocations: 441.8 kB / 1.008 GB, free: 332 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.04851, allocations: 33.7 kB / 1.008 GB, free: 292 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003115/0.04882, allocations: 396.2 kB / 1.008 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.04895, allocations: 158.6 kB / 1.009 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.04913, allocations: 114.2 kB / 1.009 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.04931, allocations: 358.8 kB / 1.009 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/0.0497, allocations: 253.1 kB / 1.009 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005659/0.05026, allocations: 457 kB / 1.01 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.05132, allocations: 0.7556 MB / 1.01 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.381e-06/0.05132, allocations: 4 kB / 1.01 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002003/0.05333, allocations: 1.034 MB / 1.011 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.05335, allocations: 15.22 kB / 1.011 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.05336, allocations: 7.984 kB / 1.011 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.0545, allocations: 327 kB / 1.012 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.05484, allocations: 99.83 kB / 1.012 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008275/0.06311, allocations: 6.969 MB / 1.019 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000485/0.0636, allocations: 36.02 kB / 1.019 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-05/0.06365, allocations: 27.94 kB / 1.019 GB, free: 4.664 MB / 0.9669 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004315/0.06408, allocations: 249.5 kB / 1.019 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.06418, allocations: 55.67 kB / 1.019 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/0.06601, allocations: 0.8842 MB / 1.02 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.06602, allocations: 4 kB / 1.02 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.06603, allocations: 7.938 kB / 1.02 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.06603, allocations: 3.938 kB / 1.02 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/0.06879, allocations: 1.522 MB / 1.021 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.0688, allocations: 4 kB / 1.021 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.06898, allocations: 44.16 kB / 1.021 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001/0.06998, allocations: 319.1 kB / 1.022 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/0.07001, allocations: 8 kB / 1.022 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008157/0.07817, allocations: 6.958 MB / 1.029 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.07818, allocations: 7.938 kB / 1.029 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/0.08006, allocations: 0.9847 MB / 1.029 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00024/0.0803, allocations: 107.5 kB / 1.03 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.037e-05/0.08037, allocations: 15.98 kB / 1.03 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.08065, allocations: 15.98 kB / 1.03 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.08077, allocations: 39.92 kB / 1.03 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.869e-05/0.08081, allocations: 12 kB / 1.03 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003632/0.08118, allocations: 290.9 kB / 1.03 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.08118, allocations: 0 / 1.03 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007924/0.08197, allocations: 196 kB / 1.03 GB, free: 8.398 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001798/0.08215, allocations: 113.8 kB / 1.03 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00197/0.08412, allocations: 1.163 MB / 1.031 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.08412, allocations: 0 / 1.031 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.08543, allocations: 0.8347 MB / 1.032 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.08645, allocations: 189.1 kB / 1.032 GB, free: 6 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.0886, allocations: 1.257 MB / 1.034 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.08905, allocations: 390.9 kB / 1.034 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002539/0.0893, allocations: 96.98 kB / 1.034 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.281e-05/0.08939, allocations: 36.5 kB / 1.034 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.08939, allocations: 0 / 1.034 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of Templates: time 0.01939/0.1088, allocations: 10.37 MB / 1.044 GB, free: 10.02 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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: 8.384157378226519]