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.001341/0.001341, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001559/0.001559, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.683/2.683, allocations: 476.7 MB / 0.7714 GB, free: 4.281 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.002066/0.002066, allocations: 60.94 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3294, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009597/0.339, allocations: 7.002 MB / 1.291 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00574/0.3448, allocations: 3.196 MB / 1.295 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006136/0.3454, allocations: 35.69 kB / 1.295 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002668/0.3481, allocations: 0.9993 MB / 1.296 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.3495, allocations: 0.5207 MB / 1.296 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.3506, allocations: 432 kB / 1.297 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00153/0.3522, allocations: 1.225 MB / 1.298 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008765/0.353, allocations: 0.5257 MB / 1.298 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007567/0.3538, allocations: 490.3 kB / 1.299 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008091/0.3546, allocations: 0.5526 MB / 1.299 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.3547, allocations: 68 kB / 1.299 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000734/0.3555, allocations: 391.2 kB / 1.3 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003223/0.3558, allocations: 319 kB / 1.3 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004555/0.3562, allocations: 449.8 kB / 1.3 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.3577, allocations: 1.222 MB / 1.302 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3577, allocations: 0 / 1.302 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3577, allocations: 3.938 kB / 1.302 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.729e-05/0.3577, allocations: 0 / 1.302 GB, free: 9.785 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.002057/0.3598, allocations: 1.108 MB / 1.303 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3598, allocations: 12.03 kB / 1.303 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/0.3613, allocations: 244.1 kB / 1.303 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.3623, allocations: 0.523 MB / 1.303 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.087e-05/0.3624, allocations: 49.67 kB / 1.303 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.3625, allocations: 60.38 kB / 1.304 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.3641, allocations: 1.093 MB / 1.305 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.3641, allocations: 7.938 kB / 1.305 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.577e-05/0.3642, allocations: 24 kB / 1.305 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001509/0.3643, allocations: 89.25 kB / 1.305 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.3655, allocations: 0.7504 MB / 1.305 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006177/0.3717, allocations: 5.795 MB / 1.311 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.3727, allocations: 0.5086 MB / 1.312 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004452/0.3732, allocations: 289.1 kB / 1.312 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.793e-05/0.3732, allocations: 8.422 kB / 1.312 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.3733, allocations: 43 kB / 1.312 GB, free: 14.59 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 2.154e-06/0.3733, allocations: 0 / 1.312 GB, free: 14.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.003831/0.3771, allocations: 1.69 MB / 1.314 GB, free: 12.88 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.3771, allocations: 59.84 kB / 1.314 GB, free: 12.81 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006868/0.3778, allocations: 0.5548 MB / 1.314 GB, free: 12.25 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/0.3779, allocations: 29.7 kB / 1.314 GB, free: 12.21 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003485/0.3782, allocations: 432 kB / 1.315 GB, free: 11.79 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.3784, allocations: 174.5 kB / 1.315 GB, free: 11.61 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.3786, allocations: 126.6 kB / 1.315 GB, free: 11.48 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002119/0.3788, allocations: 378.7 kB / 1.315 GB, free: 11.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004236/0.3792, allocations: 273.8 kB / 1.316 GB, free: 10.84 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006109/0.3798, allocations: 0.4892 MB / 1.316 GB, free: 10.25 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.3809, allocations: 0.8083 MB / 1.317 GB, free: 9.348 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3809, allocations: 0 / 1.317 GB, free: 9.348 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001898/0.3828, allocations: 1.078 MB / 1.318 GB, free: 8.25 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.3828, allocations: 8 kB / 1.318 GB, free: 8.242 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.3828, allocations: 8 kB / 1.318 GB, free: 8.234 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008665/0.3837, allocations: 283.4 kB / 1.318 GB, free: 7.945 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.3842, allocations: 119.8 kB / 1.318 GB, free: 7.828 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007234/0.3914, allocations: 6.736 MB / 1.325 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006616/0.3921, allocations: 39.91 kB / 1.325 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.283e-05/0.3921, allocations: 32 kB / 1.325 GB, free: 0.5625 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.0004088/0.3925, allocations: 253.6 kB / 1.325 GB, free: 312 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.3927, allocations: 75.53 kB / 1.325 GB, free: 236 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/0.3944, allocations: 0.8807 MB / 1.326 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.3944, allocations: 7.938 kB / 1.326 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3944, allocations: 7.938 kB / 1.326 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.3944, allocations: 7.984 kB / 1.326 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/0.3971, allocations: 1.681 MB / 1.328 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3971, allocations: 0 / 1.328 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.3974, allocations: 67.83 kB / 1.328 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000753/0.3982, allocations: 263.4 kB / 1.328 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.3982, allocations: 12 kB / 1.328 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007011/0.4052, allocations: 6.713 MB / 1.335 GB, free: 6.023 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.4052, allocations: 4.031 kB / 1.335 GB, free: 6.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.4069, allocations: 0.9799 MB / 1.336 GB, free: 4.996 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003162/0.4072, allocations: 119.6 kB / 1.336 GB, free: 4.879 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8e-05/0.4073, allocations: 15.94 kB / 1.336 GB, free: 4.863 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003534/0.4076, allocations: 31.91 kB / 1.336 GB, free: 4.832 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.788e-05/0.4077, allocations: 39.92 kB / 1.336 GB, free: 4.793 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.4078, allocations: 16 kB / 1.336 GB, free: 4.777 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004569/0.4082, allocations: 387.1 kB / 1.336 GB, free: 4.402 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4082, allocations: 3.938 kB / 1.336 GB, free: 4.398 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007963/0.409, allocations: 220 kB / 1.336 GB, free: 4.184 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.0001601/0.4092, allocations: 119.2 kB / 1.336 GB, free: 4.059 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002059/0.4113, allocations: 1.24 MB / 1.338 GB, free: 2.77 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4113, allocations: 0 / 1.338 GB, free: 2.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.4125, allocations: 0.8584 MB / 1.339 GB, free: 1.859 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000991/0.4135, allocations: 219.1 kB / 1.339 GB, free: 1.652 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.4159, allocations: 1.417 MB / 1.34 GB, free: 180 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007475/0.4166, allocations: 1.016 MB / 1.341 GB, free: 15.13 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.4168, allocations: 43.44 kB / 1.341 GB, free: 15.09 MB / 1.045 GB Notification: Performance of SimCode: time 1.022e-06/0.4168, allocations: 0 / 1.341 GB, free: 15.09 MB / 1.045 GB Notification: Performance of Templates: time 0.02695/0.4437, allocations: 20.75 MB / 1.361 GB, free: 10.39 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: 14.189694906992372]