Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.001675/0.001675, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001885/0.001885, allocations: 221.1 kB / 23 MB, free: 4.914 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.335/3.335, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.OnePhase.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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [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.002167/0.002167, allocations: 71.42 kB / 1.187 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3547, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009458/0.3641, allocations: 6.489 MB / 1.371 GB, free: 7.074 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005754/0.3699, allocations: 3.036 MB / 1.374 GB, free: 4.027 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005799/0.3705, allocations: 43.62 kB / 1.374 GB, free: 3.984 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002716/0.3732, allocations: 0.9478 MB / 1.375 GB, free: 3.035 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.3747, allocations: 0.5246 MB / 1.375 GB, free: 2.508 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.3758, allocations: 422.4 kB / 1.376 GB, free: 2.098 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001476/0.3773, allocations: 1.229 MB / 1.377 GB, free: 0.8633 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008646/0.3782, allocations: 0.5295 MB / 1.378 GB, free: 332 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007572/0.3789, allocations: 494.3 kB / 1.378 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007735/0.3797, allocations: 0.5136 MB / 1.378 GB, free: 15.32 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.3798, allocations: 64 kB / 1.379 GB, free: 15.26 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000719/0.3805, allocations: 355.2 kB / 1.379 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003255/0.3809, allocations: 311.1 kB / 1.379 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004233/0.3813, allocations: 382.2 kB / 1.38 GB, free: 14.23 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.3827, allocations: 1.222 MB / 1.381 GB, free: 13.01 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.3827, allocations: 4 kB / 1.381 GB, free: 13 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3827, allocations: 0 / 1.381 GB, free: 13 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.451e-05/0.3828, allocations: 0 / 1.381 GB, free: 13 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001985/0.3847, allocations: 1.112 MB / 1.382 GB, free: 11.86 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.3848, allocations: 8.031 kB / 1.382 GB, free: 11.85 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/0.3863, allocations: 240.1 kB / 1.382 GB, free: 11.61 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.3874, allocations: 0.5153 MB / 1.383 GB, free: 11.08 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.47e-05/0.3874, allocations: 53.67 kB / 1.383 GB, free: 11.03 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.3876, allocations: 64.31 kB / 1.383 GB, free: 10.96 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.3893, allocations: 1.34 MB / 1.384 GB, free: 9.457 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/0.3894, allocations: 7.938 kB / 1.384 GB, free: 9.449 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.231e-05/0.3894, allocations: 31.98 kB / 1.384 GB, free: 9.418 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001577/0.3896, allocations: 85.25 kB / 1.384 GB, free: 9.332 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.3908, allocations: 0.7503 MB / 1.385 GB, free: 8.578 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005482/0.3963, allocations: 4.527 MB / 1.389 GB, free: 3.898 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.3974, allocations: 0.521 MB / 1.39 GB, free: 3.371 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004632/0.3978, allocations: 282 kB / 1.39 GB, free: 3.094 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.3979, allocations: 8.438 kB / 1.39 GB, free: 3.086 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.3979, allocations: 35 kB / 1.39 GB, free: 3.043 MB / 1.076 GB Notification: Performance of pre-optimization done (n=47): time 5.83e-06/0.3979, allocations: 3.984 kB / 1.39 GB, free: 3.039 MB / 1.076 GB Notification: Performance of matching and sorting (n=48): time 0.004041/0.4019, allocations: 1.682 MB / 1.392 GB, free: 1.336 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.402, allocations: 59.84 kB / 1.392 GB, free: 1.266 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006721/0.4027, allocations: 0.5066 MB / 1.392 GB, free: 0.7461 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.4027, allocations: 33.7 kB / 1.392 GB, free: 0.707 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.403, allocations: 431.8 kB / 1.393 GB, free: 288 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.4032, allocations: 178.5 kB / 1.393 GB, free: 108 kB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/0.4034, allocations: 126.6 kB / 1.393 GB, free: 15.98 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.4036, allocations: 370.7 kB / 1.393 GB, free: 15.61 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004286/0.404, allocations: 273.8 kB / 1.394 GB, free: 15.34 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006219/0.4047, allocations: 0.4891 MB / 1.394 GB, free: 14.75 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.4058, allocations: 0.8122 MB / 1.395 GB, free: 13.84 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.4058, allocations: 4 kB / 1.395 GB, free: 13.84 MB / 1.092 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001925/0.4077, allocations: 1.067 MB / 1.396 GB, free: 12.75 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.4077, allocations: 11.94 kB / 1.396 GB, free: 12.74 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.4078, allocations: 8 kB / 1.396 GB, free: 12.73 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008493/0.4086, allocations: 275.3 kB / 1.396 GB, free: 12.45 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005046/0.4091, allocations: 131.7 kB / 1.396 GB, free: 12.32 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007084/0.4162, allocations: 6.586 MB / 1.403 GB, free: 5.32 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006404/0.4168, allocations: 39.97 kB / 1.403 GB, free: 5.281 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-05/0.4169, allocations: 28 kB / 1.403 GB, free: 5.254 MB / 1.092 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.0004369/0.4173, allocations: 250.8 kB / 1.403 GB, free: 5 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.4174, allocations: 67.62 kB / 1.403 GB, free: 4.934 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.419, allocations: 0.884 MB / 1.404 GB, free: 4.027 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.419, allocations: 4 kB / 1.404 GB, free: 4.023 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4191, allocations: 4 kB / 1.404 GB, free: 4.02 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.4191, allocations: 3.984 kB / 1.404 GB, free: 4.016 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002685/0.4217, allocations: 1.529 MB / 1.406 GB, free: 2.418 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.4217, allocations: 0 / 1.406 GB, free: 2.418 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.422, allocations: 63.89 kB / 1.406 GB, free: 2.355 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007646/0.4228, allocations: 275.2 kB / 1.406 GB, free: 2.074 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/0.4228, allocations: 12 kB / 1.406 GB, free: 2.062 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006859/0.4297, allocations: 6.591 MB / 1.412 GB, free: 11.06 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4297, allocations: 4.062 kB / 1.412 GB, free: 11.06 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.4313, allocations: 0.9682 MB / 1.413 GB, free: 10.04 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/0.4317, allocations: 111.5 kB / 1.413 GB, free: 9.934 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.505e-05/0.4317, allocations: 15.94 kB / 1.413 GB, free: 9.918 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.4321, allocations: 23.97 kB / 1.413 GB, free: 9.895 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.4322, allocations: 47.86 kB / 1.413 GB, free: 9.848 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/0.4322, allocations: 20 kB / 1.413 GB, free: 9.828 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004139/0.4327, allocations: 342.8 kB / 1.414 GB, free: 9.496 MB / 1.107 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4327, allocations: 0 / 1.414 GB, free: 9.496 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008191/0.4335, allocations: 220 kB / 1.414 GB, free: 9.281 MB / 1.107 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.000158/0.4336, allocations: 111.1 kB / 1.414 GB, free: 9.164 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002004/0.4356, allocations: 1.236 MB / 1.415 GB, free: 7.883 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4356, allocations: 3.938 kB / 1.415 GB, free: 7.879 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.4369, allocations: 0.8658 MB / 1.416 GB, free: 6.961 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009484/0.4379, allocations: 201.5 kB / 1.416 GB, free: 6.766 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.4402, allocations: 1.408 MB / 1.418 GB, free: 5.301 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004859/0.4407, allocations: 423.3 kB / 1.418 GB, free: 4.859 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.4408, allocations: 47.36 kB / 1.418 GB, free: 4.812 MB / 1.107 GB Notification: Performance of SimCode: time 5.01e-07/0.4408, allocations: 0 / 1.418 GB, free: 4.812 MB / 1.107 GB Notification: Performance of Templates: time 0.02659/0.4674, allocations: 20.7 MB / 1.438 GB, free: 160 kB / 1.123 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.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: 14.475958310998976]