Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001652/0.001652, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002086/0.002086, allocations: 213.1 kB / 22.99 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.824/2.824, allocations: 476 MB / 0.7707 GB, free: 4.707 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.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_11_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_11_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.002122/0.002122, allocations: 70.84 kB / 1.118 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3073, allocations: 170 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008846/0.3161, allocations: 6.484 MB / 1.29 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005327/0.3214, allocations: 3.032 MB / 1.293 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004235/0.3219, allocations: 39.62 kB / 1.293 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002521/0.3244, allocations: 0.9507 MB / 1.294 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.3256, allocations: 0.5207 MB / 1.295 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.3267, allocations: 428.6 kB / 1.295 GB, free: 456 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001387/0.328, allocations: 1.225 MB / 1.296 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008234/0.3289, allocations: 0.5295 MB / 1.297 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006604/0.3295, allocations: 494.3 kB / 1.297 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006962/0.3302, allocations: 0.5058 MB / 1.298 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.3303, allocations: 71.94 kB / 1.298 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000652/0.331, allocations: 351.3 kB / 1.298 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003012/0.3313, allocations: 319 kB / 1.298 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003771/0.3317, allocations: 370.3 kB / 1.299 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.333, allocations: 1.234 MB / 1.3 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.333, allocations: 3.938 kB / 1.3 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.704e-06/0.333, allocations: 3.938 kB / 1.3 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.3331, allocations: 0 / 1.3 GB, free: 11.36 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001877/0.3349, allocations: 1.104 MB / 1.301 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.335, allocations: 12.03 kB / 1.301 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/0.3364, allocations: 244.1 kB / 1.301 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.3375, allocations: 0.5308 MB / 1.302 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.641e-05/0.3375, allocations: 45.69 kB / 1.302 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.3376, allocations: 64.36 kB / 1.302 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.3393, allocations: 1.34 MB / 1.303 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.3394, allocations: 3.938 kB / 1.303 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.332e-05/0.3394, allocations: 32 kB / 1.303 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000153/0.3396, allocations: 85.25 kB / 1.303 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.3408, allocations: 0.7465 MB / 1.304 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005051/0.3458, allocations: 4.527 MB / 1.308 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009818/0.3468, allocations: 0.5112 MB / 1.309 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004236/0.3472, allocations: 282 kB / 1.309 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.3473, allocations: 4.438 kB / 1.309 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.3473, allocations: 42.94 kB / 1.309 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.675e-06/0.3473, allocations: 4 kB / 1.309 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.003737/0.351, allocations: 1.671 MB / 1.311 GB, free: 15.69 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.3511, allocations: 59.84 kB / 1.311 GB, free: 15.62 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005904/0.3517, allocations: 0.5104 MB / 1.311 GB, free: 15.09 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.3517, allocations: 37.7 kB / 1.311 GB, free: 15.05 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/0.352, allocations: 427.8 kB / 1.312 GB, free: 14.63 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.3522, allocations: 178.5 kB / 1.312 GB, free: 14.46 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.3523, allocations: 130.6 kB / 1.312 GB, free: 14.32 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.3525, allocations: 370.7 kB / 1.313 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004207/0.3529, allocations: 277.8 kB / 1.313 GB, free: 13.68 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005896/0.3535, allocations: 0.4891 MB / 1.313 GB, free: 13.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.3546, allocations: 0.8005 MB / 1.314 GB, free: 12.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.3546, allocations: 4 kB / 1.314 GB, free: 12.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001828/0.3564, allocations: 1.066 MB / 1.315 GB, free: 11.11 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.3565, allocations: 11.94 kB / 1.315 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.3565, allocations: 4 kB / 1.315 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008365/0.3573, allocations: 283.9 kB / 1.315 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004732/0.3578, allocations: 123.8 kB / 1.316 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006823/0.3646, allocations: 6.605 MB / 1.322 GB, free: 3.672 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006178/0.3652, allocations: 44.03 kB / 1.322 GB, free: 3.629 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/0.3653, allocations: 28 kB / 1.322 GB, free: 3.602 MB / 1.014 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.0003861/0.3657, allocations: 253.5 kB / 1.322 GB, free: 3.344 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.3658, allocations: 63.62 kB / 1.322 GB, free: 3.281 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.3674, allocations: 0.884 MB / 1.323 GB, free: 2.371 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.3674, allocations: 4 kB / 1.323 GB, free: 2.367 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.3674, allocations: 4 kB / 1.323 GB, free: 2.363 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/0.3674, allocations: 3.984 kB / 1.323 GB, free: 2.359 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0026/0.37, allocations: 1.521 MB / 1.325 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.37, allocations: 4 kB / 1.325 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.3703, allocations: 59.89 kB / 1.325 GB, free: 0.707 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007385/0.371, allocations: 275.4 kB / 1.325 GB, free: 436 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/0.371, allocations: 11.98 kB / 1.325 GB, free: 424 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006597/0.3776, allocations: 6.571 MB / 1.331 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.3776, allocations: 7.969 kB / 1.331 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.3793, allocations: 0.9722 MB / 1.332 GB, free: 8.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003211/0.3796, allocations: 107.6 kB / 1.332 GB, free: 8.305 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.758e-05/0.3797, allocations: 15.94 kB / 1.333 GB, free: 8.289 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/0.38, allocations: 23.97 kB / 1.333 GB, free: 8.266 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.3801, allocations: 47.86 kB / 1.333 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.3802, allocations: 16 kB / 1.333 GB, free: 8.203 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004019/0.3806, allocations: 338.8 kB / 1.333 GB, free: 7.875 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3806, allocations: 3.938 kB / 1.333 GB, free: 7.871 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007949/0.3814, allocations: 220 kB / 1.333 GB, free: 7.656 MB / 1.029 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.0001523/0.3815, allocations: 119.1 kB / 1.333 GB, free: 7.531 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001992/0.3835, allocations: 1.24 MB / 1.334 GB, free: 6.242 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3835, allocations: 0 / 1.334 GB, free: 6.242 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001285/0.3848, allocations: 0.8701 MB / 1.335 GB, free: 5.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009564/0.3858, allocations: 209.2 kB / 1.336 GB, free: 5.121 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.3881, allocations: 1.419 MB / 1.337 GB, free: 3.648 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.3886, allocations: 419 kB / 1.337 GB, free: 3.215 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.3887, allocations: 43.42 kB / 1.337 GB, free: 3.172 MB / 1.029 GB Notification: Performance of SimCode: time 7.11e-07/0.3887, allocations: 0 / 1.337 GB, free: 3.172 MB / 1.029 GB Notification: Performance of Templates: time 0.02505/0.4138, allocations: 20.7 MB / 1.358 GB, free: 14.51 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.630089360754937]