Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001069/0.001069, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001524/0.001524, allocations: 169 kB / 24.28 MB, free: 272 kB / 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 0.9628/0.9628, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 1.739/1.739, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] 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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_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.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.195e-06/2.195e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.749e-05/2.969e-05, allocations: 5.844 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007074/0.007104, allocations: 6.251 MB / 0.7932 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003281/0.01039, allocations: 3.243 MB / 0.7964 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.0106, allocations: 43.56 kB / 0.7964 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.01178, allocations: 0.9661 MB / 0.7974 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005761/0.01236, allocations: 0.5009 MB / 0.7978 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005623/0.01292, allocations: 0.5009 MB / 0.7983 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009854/0.0139, allocations: 1.131 MB / 0.7994 GB, free: 152 kB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005685/0.01447, allocations: 0.5061 MB / 0.7999 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005035/0.01498, allocations: 0.6052 MB / 0.8005 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003807/0.01536, allocations: 430.8 kB / 0.8009 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 6.451e-05/0.01542, allocations: 60.53 kB / 0.801 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004186/0.01584, allocations: 460.3 kB / 0.8014 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002045/0.01604, allocations: 307.1 kB / 0.8017 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.01624, allocations: 271.3 kB / 0.802 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000716/0.01695, allocations: 0.872 MB / 0.8028 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.01696, allocations: 0 / 0.8028 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.01e-07/0.01696, allocations: 1.156 kB / 0.8028 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.01697, allocations: 4 kB / 0.8028 GB, free: 12.66 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001005/0.01797, allocations: 1.105 MB / 0.8039 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.018, allocations: 9.781 kB / 0.8039 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.01907, allocations: 339.7 kB / 0.8042 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006519/0.01973, allocations: 0.5583 MB / 0.8048 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.01976, allocations: 46.58 kB / 0.8048 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.16e-05/0.01984, allocations: 72.31 kB / 0.8049 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.02099, allocations: 0.8936 MB / 0.8058 GB, free: 9.418 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.02102, allocations: 9.219 kB / 0.8058 GB, free: 9.41 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.331e-05/0.02108, allocations: 36.34 kB / 0.8058 GB, free: 9.375 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/0.02119, allocations: 73.2 kB / 0.8059 GB, free: 9.301 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006856/0.02187, allocations: 336.8 kB / 0.8062 GB, free: 8.977 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004053/0.02592, allocations: 5.635 MB / 0.8117 GB, free: 3.145 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005811/0.0265, allocations: 263.5 kB / 0.812 GB, free: 2.875 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005739/0.02708, allocations: 255 kB / 0.8122 GB, free: 2.625 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.02711, allocations: 8 kB / 0.8122 GB, free: 2.617 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.02714, allocations: 45.11 kB / 0.8123 GB, free: 2.562 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=41): time 2.124e-06/0.02715, allocations: 0 / 0.8123 GB, free: 2.562 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42): time 0.003203/0.03035, allocations: 1.136 MB / 0.8134 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.03038, allocations: 59.19 kB / 0.8134 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004215/0.0308, allocations: 478.4 kB / 0.8139 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.03084, allocations: 33.7 kB / 0.8139 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.03108, allocations: 446.7 kB / 0.8143 GB, free: 376 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.0312, allocations: 154.6 kB / 0.8145 GB, free: 220 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.03136, allocations: 123.9 kB / 0.8146 GB, free: 88 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.03155, allocations: 0.5313 MB / 0.8151 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.03177, allocations: 105.2 kB / 0.8152 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004037/0.03217, allocations: 404.7 kB / 0.8156 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006661/0.03284, allocations: 0.5487 MB / 0.8161 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.03284, allocations: 3.938 kB / 0.8162 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001382/0.03422, allocations: 0.7181 MB / 0.8169 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.03424, allocations: 12.19 kB / 0.8169 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.03426, allocations: 11.98 kB / 0.8169 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009276/0.03518, allocations: 258.5 kB / 0.8171 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.03546, allocations: 99.77 kB / 0.8172 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005801/0.04126, allocations: 7.72 MB / 0.8248 GB, free: 4.883 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002908/0.04155, allocations: 31.97 kB / 0.8248 GB, free: 4.852 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.04159, allocations: 24 kB / 0.8248 GB, free: 4.828 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 (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.0001928/0.04179, allocations: 196.3 kB / 0.825 GB, free: 4.625 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.04189, allocations: 71.67 kB / 0.8251 GB, free: 4.555 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.04298, allocations: 0.5671 MB / 0.8256 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.04298, allocations: 4 kB / 0.8256 GB, free: 3.961 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.04299, allocations: 4 kB / 0.8256 GB, free: 3.957 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.04299, allocations: 11.86 kB / 0.8256 GB, free: 3.945 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.04513, allocations: 1.141 MB / 0.8268 GB, free: 2.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.04514, allocations: 4 kB / 0.8268 GB, free: 2.715 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.04528, allocations: 43.91 kB / 0.8268 GB, free: 2.672 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007943/0.04607, allocations: 250.8 kB / 0.827 GB, free: 2.41 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.0461, allocations: 12 kB / 0.827 GB, free: 2.398 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005396/0.0515, allocations: 7.713 MB / 0.8346 GB, free: 10.19 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.0515, allocations: 4 kB / 0.8346 GB, free: 10.19 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008617/0.05236, allocations: 0.7311 MB / 0.8353 GB, free: 9.395 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.05249, allocations: 103.5 kB / 0.8354 GB, free: 9.293 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.05253, allocations: 8 kB / 0.8354 GB, free: 9.285 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.05266, allocations: 19.97 kB / 0.8354 GB, free: 9.266 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/0.05273, allocations: 51.61 kB / 0.8355 GB, free: 9.215 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.05275, allocations: 12 kB / 0.8355 GB, free: 9.203 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001742/0.05292, allocations: 294.8 kB / 0.8358 GB, free: 8.918 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.05292, allocations: 0 / 0.8358 GB, free: 8.918 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004423/0.05337, allocations: 196 kB / 0.836 GB, free: 8.727 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 (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.0001127/0.05348, allocations: 124.7 kB / 0.8361 GB, free: 8.598 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0009779/0.05446, allocations: 1.144 MB / 0.8372 GB, free: 7.383 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.05446, allocations: 4.062 kB / 0.8372 GB, free: 7.379 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0006041/0.05506, allocations: 0.9447 MB / 0.8381 GB, free: 6.359 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005768/0.05564, allocations: 201.8 kB / 0.8383 GB, free: 6.172 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.05709, allocations: 1.17 MB / 0.8395 GB, free: 4.941 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.05725, allocations: 210.2 kB / 0.8397 GB, free: 4.715 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001746/0.05743, allocations: 84.98 kB / 0.8397 GB, free: 4.629 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.672e-05/0.05748, allocations: 40.5 kB / 0.8398 GB, free: 4.59 MB / 0.7917 GB Notification: Performance of SimCode: time 9.01e-07/0.05748, allocations: 0 / 0.8398 GB, free: 4.59 MB / 0.7917 GB Notification: Performance of Templates: time 0.01231/0.0698, allocations: 10.55 MB / 0.8501 GB, free: 10.26 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.331874578958377]