Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001397/0.001397, allocations: 78.17 kB / 19.76 MB, free: 2.031 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.001542/0.001542, allocations: 163.5 kB / 23.01 MB, free: 4.945 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.447/1.447, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.839/2.839, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 63.91 kB / 0.9819 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.984/0.9863, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01296/0.9992, allocations: 13.94 MB / 1.168 GB, free: 24.5 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01313/1.012, allocations: 9.976 MB / 1.177 GB, free: 18.09 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/1.014, allocations: 85.12 kB / 1.177 GB, free: 18.04 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004153/1.018, allocations: 1.683 MB / 1.179 GB, free: 17.1 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00556/1.024, allocations: 1.846 MB / 1.181 GB, free: 16.04 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002302/1.026, allocations: 0.7589 MB / 1.182 GB, free: 15.64 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004973/1.031, allocations: 2.762 MB / 1.184 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002093/1.033, allocations: 1.193 MB / 1.185 GB, free: 13.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003547/1.037, allocations: 1.727 MB / 1.187 GB, free: 13.12 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00217/1.039, allocations: 1.042 MB / 1.188 GB, free: 12.72 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003195/1.039, allocations: 157.8 kB / 1.188 GB, free: 12.72 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001858/1.041, allocations: 0.7166 MB / 1.189 GB, free: 12.53 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006964/1.042, allocations: 0.6153 MB / 1.19 GB, free: 12.23 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/1.043, allocations: 0.7675 MB / 1.19 GB, free: 11.82 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004633/1.047, allocations: 2.766 MB / 1.193 GB, free: 10.86 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.047, allocations: 1.547 kB / 1.193 GB, free: 10.86 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.894e-06/1.047, allocations: 0 / 1.193 GB, free: 10.86 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.874e-05/1.047, allocations: 0 / 1.193 GB, free: 10.86 MB / 1.076 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.004807/1.052, allocations: 2.142 MB / 1.195 GB, free: 9.547 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.052, allocations: 9.562 kB / 1.195 GB, free: 9.547 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01255/1.065, allocations: 2.122 MB / 1.197 GB, free: 9.398 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003178/1.068, allocations: 1.186 MB / 1.198 GB, free: 8.719 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.476e-05/1.068, allocations: 94.31 kB / 1.198 GB, free: 8.672 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003417/1.068, allocations: 115.1 kB / 1.199 GB, free: 8.633 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00664/1.075, allocations: 2.883 MB / 1.201 GB, free: 7.305 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-05/1.075, allocations: 12.19 kB / 1.201 GB, free: 7.297 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002481/1.075, allocations: 58.19 kB / 1.201 GB, free: 7.254 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007819/1.076, allocations: 194 kB / 1.202 GB, free: 7.234 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008427/1.085, allocations: 2.784 MB / 1.204 GB, free: 6.52 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01575/1.1, allocations: 8.119 MB / 1.212 GB, free: 1.602 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006938/1.107, allocations: 2.189 MB / 1.214 GB, free: 1.078 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003259/1.111, allocations: 1.198 MB / 1.216 GB, free: 0.7656 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.458e-05/1.111, allocations: 9.875 kB / 1.216 GB, free: 0.7656 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/1.111, allocations: 44.25 kB / 1.216 GB, free: 0.7188 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 2.955e-06/1.111, allocations: 1.344 kB / 1.216 GB, free: 0.7188 MB / 1.076 GB Notification: Performance of matching and sorting (n=153): time 0.06488/1.175, allocations: 15.98 MB / 1.231 GB, free: 13.22 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/1.176, allocations: 67.88 kB / 1.231 GB, free: 13.15 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/1.178, allocations: 1.032 MB / 1.232 GB, free: 12.58 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002908/1.178, allocations: 51.36 kB / 1.232 GB, free: 12.53 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006947/1.179, allocations: 0.7579 MB / 1.233 GB, free: 11.86 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007545/1.179, allocations: 0.5405 MB / 1.234 GB, free: 11.38 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007369/1.18, allocations: 288.4 kB / 1.234 GB, free: 11.21 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.18, allocations: 306.7 kB / 1.234 GB, free: 10.91 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003823/1.184, allocations: 1.511 MB / 1.236 GB, free: 10.13 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004084/1.188, allocations: 1.782 MB / 1.237 GB, free: 9.035 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008064/1.196, allocations: 3.367 MB / 1.241 GB, free: 7.105 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/1.196, allocations: 1.562 kB / 1.241 GB, free: 7.105 MB / 1.092 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01676/1.213, allocations: 5.195 MB / 1.246 GB, free: 4.25 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/1.213, allocations: 15.56 kB / 1.246 GB, free: 4.242 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/1.213, allocations: 7.219 kB / 1.246 GB, free: 4.242 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007656/1.221, allocations: 1.876 MB / 1.248 GB, free: 3.262 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/1.223, allocations: 419.2 kB / 1.248 GB, free: 3.094 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03381/1.257, allocations: 22.86 MB / 1.27 GB, free: 316 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003179/1.26, allocations: 307.5 kB / 1.271 GB, free: 8 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000439/1.26, allocations: 67.97 kB / 1.271 GB, free: 15.94 MB / 1.123 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.001388/1.262, allocations: 470.6 kB / 1.271 GB, free: 15.47 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000617/1.262, allocations: 167 kB / 1.271 GB, free: 15.31 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01512/1.277, allocations: 5.252 MB / 1.276 GB, free: 10.01 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.283e-05/1.277, allocations: 16 kB / 1.276 GB, free: 9.992 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.284e-05/1.277, allocations: 16 kB / 1.276 GB, free: 9.977 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.26e-05/1.277, allocations: 7.969 kB / 1.276 GB, free: 9.969 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01928/1.297, allocations: 6.783 MB / 1.283 GB, free: 3.09 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/1.297, allocations: 4 kB / 1.283 GB, free: 3.086 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001948/1.299, allocations: 351.3 kB / 1.283 GB, free: 2.742 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00688/1.306, allocations: 1.709 MB / 1.285 GB, free: 1.012 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00025/1.306, allocations: 43.91 kB / 1.285 GB, free: 0.9688 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03239/1.338, allocations: 22.03 MB / 1.307 GB, free: 10.12 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/1.338, allocations: 12 kB / 1.307 GB, free: 10.11 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01417/1.352, allocations: 4.805 MB / 1.311 GB, free: 5.227 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/1.354, allocations: 406.7 kB / 1.312 GB, free: 4.828 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000552/1.354, allocations: 32 kB / 1.312 GB, free: 4.797 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00262/1.357, allocations: 319.5 kB / 1.312 GB, free: 4.484 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006044/1.358, allocations: 164.8 kB / 1.312 GB, free: 4.32 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002008/1.358, allocations: 51.97 kB / 1.312 GB, free: 4.27 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00131/1.359, allocations: 0.684 MB / 1.313 GB, free: 3.582 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.359, allocations: 0 / 1.313 GB, free: 3.582 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00297/1.362, allocations: 0.6523 MB / 1.314 GB, free: 2.93 MB / 1.154 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.0003978/1.363, allocations: 151 kB / 1.314 GB, free: 2.777 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01266/1.375, allocations: 4.922 MB / 1.319 GB, free: 13.75 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/1.375, allocations: 4 kB / 1.319 GB, free: 13.74 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.007873/1.383, allocations: 3.265 MB / 1.322 GB, free: 10.38 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003166/1.386, allocations: 0.5181 MB / 1.322 GB, free: 9.871 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/1.397, allocations: 4.359 MB / 1.327 GB, free: 5.465 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001729/1.399, allocations: 0.976 MB / 1.327 GB, free: 4.449 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001568/1.4, allocations: 369.2 kB / 1.328 GB, free: 4.082 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004459/1.401, allocations: 96.44 kB / 1.328 GB, free: 3.988 MB / 1.17 GB Notification: Performance of SimCode: time 8.52e-07/1.401, allocations: 0 / 1.328 GB, free: 3.988 MB / 1.17 GB Notification: Performance of Templates: time 0.07672/1.478, allocations: 46.78 MB / 1.374 GB, free: 5.938 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.429549905005842]