Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001879/0.001879, 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.002534/0.002534, allocations: 219.6 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.587/1.587, allocations: 230.6 MB / 256.8 MB, free: 8.062 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.733/2.733, allocations: 476.8 MB / 0.7714 GB, free: 4.273 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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [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.002068/0.002068, allocations: 68.83 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3731, allocations: 170 MB / 1.285 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005338/0.3785, allocations: 3.214 MB / 1.288 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003436/0.3819, allocations: 2.033 MB / 1.29 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.382, allocations: 11.94 kB / 1.29 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009558/0.383, allocations: 298.8 kB / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004536/0.3834, allocations: 203 kB / 1.29 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006819/0.3841, allocations: 251.2 kB / 1.29 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004269/0.3845, allocations: 323 kB / 1.291 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003226/0.3849, allocations: 145.1 kB / 1.291 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.3851, allocations: 151.4 kB / 1.291 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003419/0.3855, allocations: 155.4 kB / 1.291 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.3855, allocations: 20 kB / 1.291 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006602/0.3861, allocations: 423.2 kB / 1.292 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.3863, allocations: 83.78 kB / 1.292 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.3864, allocations: 119.4 kB / 1.292 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006723/0.3871, allocations: 0.4983 MB / 1.292 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.3871, allocations: 4 kB / 1.292 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3871, allocations: 0 / 1.292 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.3871, allocations: 0 / 1.292 GB, free: 3.375 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009044/0.388, allocations: 0.4932 MB / 1.293 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.388, allocations: 8.031 kB / 1.293 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007899/0.3888, allocations: 108.7 kB / 1.293 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.3892, allocations: 214.1 kB / 1.293 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.3892, allocations: 12.81 kB / 1.293 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.764e-05/0.3892, allocations: 20.36 kB / 1.293 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000558/0.3898, allocations: 357 kB / 1.293 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3898, allocations: 0 / 1.293 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.3898, allocations: 11.98 kB / 1.293 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-05/0.3899, allocations: 28.36 kB / 1.293 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004873/0.3904, allocations: 293.5 kB / 1.294 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/0.3926, allocations: 1.62 MB / 1.295 GB, free: 12 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004976/0.3931, allocations: 245.1 kB / 1.296 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.3933, allocations: 97.67 kB / 1.296 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.979e-05/0.3934, allocations: 12.2 kB / 1.296 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.3934, allocations: 38.56 kB / 1.296 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.3934, allocations: 0 / 1.296 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.002445/0.3959, allocations: 0.8966 MB / 1.297 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.3959, allocations: 85.08 kB / 1.297 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.3962, allocations: 215.7 kB / 1.297 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/0.3962, allocations: 33.7 kB / 1.297 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.3963, allocations: 172.4 kB / 1.297 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.38e-05/0.3964, allocations: 83.41 kB / 1.297 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.3965, allocations: 65.59 kB / 1.297 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3967, allocations: 330.8 kB / 1.298 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.3969, allocations: 135.9 kB / 1.298 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.3972, allocations: 217.8 kB / 1.298 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005027/0.3977, allocations: 363.6 kB / 1.298 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3977, allocations: 4 kB / 1.298 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008956/0.3986, allocations: 0.5043 MB / 1.299 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3986, allocations: 8 kB / 1.299 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.3986, allocations: 4.312 kB / 1.299 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005175/0.3991, allocations: 147.3 kB / 1.299 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.3994, allocations: 59.91 kB / 1.299 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003457/0.4028, allocations: 3.992 MB / 1.303 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.403, allocations: 20.02 kB / 1.303 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.403, allocations: 8 kB / 1.303 GB, free: 7.84 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002029/0.4032, allocations: 181.2 kB / 1.303 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.169e-05/0.4033, allocations: 19.86 kB / 1.303 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000887/0.4042, allocations: 462.7 kB / 1.303 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4042, allocations: 4 kB / 1.303 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.4042, allocations: 0 / 1.303 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.4042, allocations: 7.984 kB / 1.304 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.4059, allocations: 0.9754 MB / 1.304 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.4059, allocations: 4 kB / 1.304 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.406, allocations: 27.98 kB / 1.304 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003914/0.4064, allocations: 151.4 kB / 1.305 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.4064, allocations: 8 kB / 1.305 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003304/0.4097, allocations: 3.968 MB / 1.309 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4097, allocations: 0 / 1.309 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008817/0.4106, allocations: 0.6178 MB / 1.309 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.4107, allocations: 43.88 kB / 1.309 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/0.4108, allocations: 15.94 kB / 1.309 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.411, allocations: 19.98 kB / 1.309 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.411, allocations: 19.95 kB / 1.309 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.4111, allocations: 12.05 kB / 1.309 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001651/0.4112, allocations: 153.5 kB / 1.309 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.4112, allocations: 0 / 1.309 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005474/0.4118, allocations: 99.86 kB / 1.309 GB, free: 0.6172 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002221/0.412, allocations: 139 kB / 1.31 GB, free: 480 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001023/0.413, allocations: 0.5843 MB / 1.31 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.413, allocations: 7.938 kB / 1.31 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005411/0.4136, allocations: 386.1 kB / 1.311 GB, free: 15.45 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004955/0.4141, allocations: 51.33 kB / 1.311 GB, free: 15.41 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.4152, allocations: 0.6696 MB / 1.311 GB, free: 14.68 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/0.4157, allocations: 0.7792 MB / 1.312 GB, free: 13.88 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.95e-05/0.4158, allocations: 27.42 kB / 1.312 GB, free: 13.85 MB / 1.014 GB Notification: Performance of SimCode: time 3.41e-07/0.4158, allocations: 4 kB / 1.312 GB, free: 13.84 MB / 1.014 GB Notification: Performance of Templates: time 0.01126/0.4271, allocations: 7.726 MB / 1.32 GB, free: 6.113 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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: 12.796173523005564]