Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.00187/0.00187, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.00192/0.00192, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.546/1.546, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.893/2.893, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.872e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01081/0.01084, allocations: 6.873 MB / 0.7931 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006453/0.01729, allocations: 3.129 MB / 0.7962 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005608/0.01785, allocations: 39.62 kB / 0.7962 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002851/0.0207, allocations: 0.9828 MB / 0.7971 GB, free: 1.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001421/0.02213, allocations: 0.5333 MB / 0.7977 GB, free: 1.238 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.02334, allocations: 450.7 kB / 0.7981 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002063/0.02541, allocations: 1.267 MB / 0.7993 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009348/0.02634, allocations: 0.5372 MB / 0.7999 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.02735, allocations: 0.6624 MB / 0.8005 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007718/0.02813, allocations: 480.8 kB / 0.801 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.02825, allocations: 68 kB / 0.801 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007202/0.02897, allocations: 343.1 kB / 0.8014 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.000395/0.02936, allocations: 343 kB / 0.8017 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0004295/0.02979, allocations: 315.2 kB / 0.802 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.03149, allocations: 1.258 MB / 0.8032 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.03149, allocations: 0.5312 kB / 0.8032 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.804e-06/0.0315, allocations: 0.7188 kB / 0.8032 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.501e-05/0.03151, allocations: 0 / 0.8032 GB, free: 11.54 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002247/0.03376, allocations: 1.254 MB / 0.8044 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.0338, allocations: 12.03 kB / 0.8045 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/0.03548, allocations: 346.7 kB / 0.8048 GB, free: 9.906 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.0366, allocations: 0.5648 MB / 0.8053 GB, free: 9.32 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.669e-05/0.03666, allocations: 55.08 kB / 0.8054 GB, free: 9.27 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.03678, allocations: 72.34 kB / 0.8055 GB, free: 9.199 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/0.03872, allocations: 1.139 MB / 0.8066 GB, free: 7.852 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.059e-05/0.03876, allocations: 20.05 kB / 0.8066 GB, free: 7.832 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.39e-05/0.03884, allocations: 29.14 kB / 0.8066 GB, free: 7.805 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001706/0.03901, allocations: 85.2 kB / 0.8067 GB, free: 7.723 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009015/0.03991, allocations: 421.9 kB / 0.8071 GB, free: 7.312 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00666/0.04657, allocations: 5.907 MB / 0.8129 GB, free: 1.215 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008348/0.0474, allocations: 317.6 kB / 0.8132 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.04771, allocations: 150.1 kB / 0.8133 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-05/0.04776, allocations: 8.5 kB / 0.8133 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.0478, allocations: 43.02 kB / 0.8134 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=47): time 2.053e-06/0.04781, allocations: 0 / 0.8134 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48): time 0.003494/0.0513, allocations: 1.154 MB / 0.8145 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.05135, allocations: 55.91 kB / 0.8145 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000762/0.05211, allocations: 0.6352 MB / 0.8152 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.922e-05/0.05216, allocations: 37.7 kB / 0.8152 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004263/0.05259, allocations: 498.5 kB / 0.8157 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.05277, allocations: 190.5 kB / 0.8159 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.05301, allocations: 136.2 kB / 0.816 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003539/0.05337, allocations: 0.5704 MB / 0.8165 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/0.05368, allocations: 149.9 kB / 0.8167 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006181/0.0543, allocations: 464.6 kB / 0.8171 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009696/0.05527, allocations: 0.6483 MB / 0.8178 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.05528, allocations: 4 kB / 0.8178 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001705/0.05698, allocations: 0.8156 MB / 0.8186 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.057, allocations: 8 kB / 0.8186 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.05702, allocations: 8 kB / 0.8186 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00151/0.05853, allocations: 330.8 kB / 0.8189 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005005/0.05903, allocations: 127.8 kB / 0.819 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008492/0.06752, allocations: 7.782 MB / 0.8266 GB, free: 2.223 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006306/0.06815, allocations: 44.02 kB / 0.8267 GB, free: 2.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.089e-05/0.06821, allocations: 35.94 kB / 0.8267 GB, free: 2.145 MB / 0.7761 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.0003473/0.06856, allocations: 224.3 kB / 0.8269 GB, free: 1.914 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.06871, allocations: 87.58 kB / 0.827 GB, free: 1.828 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.07018, allocations: 0.5923 MB / 0.8276 GB, free: 1.211 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.07019, allocations: 4 kB / 0.8276 GB, free: 1.207 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.0702, allocations: 4 kB / 0.8276 GB, free: 1.203 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.07021, allocations: 3.984 kB / 0.8276 GB, free: 1.199 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002646/0.07285, allocations: 1.314 MB / 0.8289 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.07286, allocations: 4.188 kB / 0.8289 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003001/0.07316, allocations: 59.89 kB / 0.8289 GB, free: 15.74 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001415/0.07457, allocations: 314.8 kB / 0.8292 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/0.07461, allocations: 12 kB / 0.8292 GB, free: 15.4 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008138/0.08275, allocations: 7.775 MB / 0.8368 GB, free: 7.137 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.08275, allocations: 0 / 0.8368 GB, free: 7.137 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.08433, allocations: 0.795 MB / 0.8376 GB, free: 6.285 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003341/0.08466, allocations: 103.5 kB / 0.8377 GB, free: 6.184 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.001e-05/0.08474, allocations: 12 kB / 0.8377 GB, free: 6.172 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/0.08512, allocations: 31.95 kB / 0.8377 GB, free: 6.141 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.08525, allocations: 43.86 kB / 0.8378 GB, free: 6.098 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.08529, allocations: 16 kB / 0.8378 GB, free: 6.082 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.000514/0.0858, allocations: 406.8 kB / 0.8382 GB, free: 5.688 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.0858, allocations: 0 / 0.8382 GB, free: 5.688 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0008675/0.08667, allocations: 228 kB / 0.8384 GB, free: 5.465 MB / 0.7917 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001753/0.08685, allocations: 115.2 kB / 0.8385 GB, free: 5.344 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002114/0.08896, allocations: 1.257 MB / 0.8397 GB, free: 4.016 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.08896, allocations: 128 / 0.8397 GB, free: 4.016 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001713/0.09068, allocations: 0.9997 MB / 0.8407 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.09169, allocations: 204.1 kB / 0.8409 GB, free: 2.746 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/0.09409, allocations: 1.299 MB / 0.8422 GB, free: 1.383 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005034/0.09459, allocations: 396.8 kB / 0.8426 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003346/0.09493, allocations: 101.5 kB / 0.8427 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.09504, allocations: 36.5 kB / 0.8427 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of SimCode: time 9.12e-07/0.09504, allocations: 8 kB / 0.8427 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of Templates: time 0.02291/0.118, allocations: 11.46 MB / 0.8539 GB, free: 5.617 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.429025630000979]