Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001969/0.001969, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.002133/0.002133, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.66/1.66, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.796/2.796, allocations: 443.4 MB / 0.7304 GB, free: 14.1 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ACLine,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_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.89 kB / 1.059 GB, free: 472 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3742, allocations: 160.7 MB / 1.216 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01972/0.3939, allocations: 14.58 MB / 1.23 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0174/0.4113, allocations: 9.747 MB / 1.24 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002002/0.4133, allocations: 51.69 kB / 1.24 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005424/0.4187, allocations: 1.741 MB / 1.242 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005663/0.4244, allocations: 1.578 MB / 1.243 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.4268, allocations: 0.7625 MB / 1.244 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004811/0.4316, allocations: 2.512 MB / 1.246 GB, free: 348 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002102/0.4337, allocations: 0.9969 MB / 1.247 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002376/0.4361, allocations: 1.086 MB / 1.248 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002175/0.4382, allocations: 1.203 MB / 1.25 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003728/0.4386, allocations: 168 kB / 1.25 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002503/0.4411, allocations: 0.8033 MB / 1.251 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008371/0.442, allocations: 0.6347 MB / 1.251 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001344/0.4433, allocations: 0.9407 MB / 1.252 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005223/0.4485, allocations: 2.775 MB / 1.255 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.368e-06/0.4485, allocations: 0 / 1.255 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.415e-06/0.4485, allocations: 3.938 kB / 1.255 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001416/0.4487, allocations: 0 / 1.255 GB, free: 7.672 MB / 0.9981 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.006414/0.4551, allocations: 2.19 MB / 1.257 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.4551, allocations: 8.031 kB / 1.257 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01101/0.4662, allocations: 2.09 MB / 1.259 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003559/0.4697, allocations: 1.303 MB / 1.26 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-05/0.4698, allocations: 90.73 kB / 1.26 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000294/0.4701, allocations: 120.1 kB / 1.26 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7734/1.243, allocations: 2.675 MB / 1.263 GB, free: 47.35 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.716e-05/1.244, allocations: 7.688 kB / 1.263 GB, free: 47.35 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001807/1.244, allocations: 56.72 kB / 1.263 GB, free: 47.35 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005589/1.244, allocations: 180.7 kB / 1.263 GB, free: 47.35 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006584/1.251, allocations: 2.795 MB / 1.266 GB, free: 47.33 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01453/1.265, allocations: 10.47 MB / 1.276 GB, free: 41.53 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007176/1.273, allocations: 2.453 MB / 1.279 GB, free: 40.77 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003501/1.276, allocations: 1.208 MB / 1.28 GB, free: 40.46 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.995e-05/1.276, allocations: 15.98 kB / 1.28 GB, free: 40.46 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.946e-05/1.276, allocations: 44.17 kB / 1.28 GB, free: 40.41 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 2.975e-06/1.276, allocations: 0.6562 kB / 1.28 GB, free: 40.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=131): time 0.04787/1.324, allocations: 13.34 MB / 1.293 GB, free: 36.81 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/1.324, allocations: 66.91 kB / 1.293 GB, free: 36.75 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/1.326, allocations: 1.117 MB / 1.294 GB, free: 36.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002866/1.326, allocations: 45.52 kB / 1.294 GB, free: 36.26 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005614/1.327, allocations: 0.7234 MB / 1.295 GB, free: 35.74 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005432/1.327, allocations: 476.8 kB / 1.295 GB, free: 35.44 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005861/1.328, allocations: 260.9 kB / 1.296 GB, free: 35.33 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.328, allocations: 369.5 kB / 1.296 GB, free: 34.99 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003532/1.332, allocations: 1.337 MB / 1.297 GB, free: 34.62 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003462/1.335, allocations: 1.602 MB / 1.299 GB, free: 33.95 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006694/1.342, allocations: 2.999 MB / 1.302 GB, free: 32.75 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/1.342, allocations: 1.375 kB / 1.302 GB, free: 32.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01183/1.354, allocations: 4.408 MB / 1.306 GB, free: 31.28 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/1.354, allocations: 8.344 kB / 1.306 GB, free: 31.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/1.354, allocations: 6.25 kB / 1.306 GB, free: 31.28 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005062/1.359, allocations: 1.429 MB / 1.307 GB, free: 30.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002087/1.361, allocations: 432.8 kB / 1.308 GB, free: 30.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02276/1.384, allocations: 26.71 MB / 1.334 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0028/1.386, allocations: 306.7 kB / 1.334 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003786/1.387, allocations: 62.83 kB / 1.334 GB, free: 6.879 MB / 0.9981 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001271/1.388, allocations: 438.3 kB / 1.335 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008251/1.389, allocations: 172.5 kB / 1.335 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01122/1.4, allocations: 4.408 MB / 1.339 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/1.4, allocations: 12.66 kB / 1.339 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.914e-05/1.4, allocations: 13.16 kB / 1.339 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.662e-05/1.4, allocations: 9.141 kB / 1.339 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01445/1.415, allocations: 6.72 MB / 1.346 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/1.415, allocations: 6.438 kB / 1.346 GB, free: 15.74 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00179/1.417, allocations: 377.5 kB / 1.346 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004856/1.421, allocations: 1.305 MB / 1.347 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002133/1.422, allocations: 37 kB / 1.347 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02866/1.45, allocations: 25.51 MB / 1.372 GB, free: 7.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/1.45, allocations: 11.89 kB / 1.372 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01126/1.461, allocations: 4.164 MB / 1.376 GB, free: 4.148 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/1.463, allocations: 463.8 kB / 1.377 GB, free: 3.676 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002705/1.463, allocations: 24 kB / 1.377 GB, free: 3.652 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001969/1.465, allocations: 307 kB / 1.377 GB, free: 3.355 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000673/1.466, allocations: 140.6 kB / 1.377 GB, free: 3.219 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001637/1.466, allocations: 47.97 kB / 1.377 GB, free: 3.172 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001327/1.467, allocations: 0.7487 MB / 1.378 GB, free: 2.422 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/1.467, allocations: 0 / 1.378 GB, free: 2.422 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002761/1.47, allocations: 0.5703 MB / 1.379 GB, free: 1.852 MB / 1.029 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003434/1.47, allocations: 144.2 kB / 1.379 GB, free: 1.707 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01195/1.482, allocations: 4.961 MB / 1.384 GB, free: 12.58 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/1.482, allocations: 8 kB / 1.384 GB, free: 12.57 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.007596/1.49, allocations: 3.429 MB / 1.387 GB, free: 8.984 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002747/1.493, allocations: 0.5435 MB / 1.387 GB, free: 8.469 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009352/1.502, allocations: 4.062 MB / 1.391 GB, free: 4.359 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001485/1.503, allocations: 1.477 MB / 1.393 GB, free: 2.848 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001692/1.505, allocations: 425.6 kB / 1.393 GB, free: 2.426 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003993/1.506, allocations: 115.4 kB / 1.393 GB, free: 2.312 MB / 1.045 GB Notification: Performance of SimCode: time 1.303e-06/1.506, allocations: 3.938 kB / 1.393 GB, free: 2.309 MB / 1.045 GB Notification: Performance of Templates: time 0.07503/1.581, allocations: 40.43 MB / 1.433 GB, free: 10.34 MB / 1.092 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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: 11.40841593593359]