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.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.002024/0.002024, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002524/0.002524, allocations: 199.6 kB / 22.17 MB, free: 5.211 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.452/1.452, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.825/2.825, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 67.88 kB / 1.109 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8684/0.8705, allocations: 168.7 MB / 1.274 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.006092/0.8766, allocations: 3.184 MB / 1.277 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00395/0.8805, allocations: 1.981 MB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.8807, allocations: 4 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.8819, allocations: 290.8 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006174/0.8825, allocations: 203.1 kB / 1.28 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008076/0.8833, allocations: 240.9 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000497/0.8838, allocations: 326.9 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003722/0.8842, allocations: 137 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.8844, allocations: 143.5 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000375/0.8848, allocations: 151.5 kB / 1.281 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.808e-05/0.8848, allocations: 20 kB / 1.281 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008169/0.8856, allocations: 407.2 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.8857, allocations: 87.72 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.8859, allocations: 123.3 kB / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008309/0.8867, allocations: 494.3 kB / 1.282 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.8867, allocations: 0 / 1.282 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.477e-06/0.8868, allocations: 0 / 1.282 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.8868, allocations: 0 / 1.282 GB, free: 12.75 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.001224/0.888, allocations: 0.5724 MB / 1.282 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.888, allocations: 12.03 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008661/0.8889, allocations: 112.6 kB / 1.282 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000477/0.8894, allocations: 264 kB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.8894, allocations: 20.75 kB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.975e-05/0.8894, allocations: 16.38 kB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006391/0.8901, allocations: 357.4 kB / 1.283 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.8901, allocations: 0 / 1.283 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.8901, allocations: 8 kB / 1.283 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.016e-05/0.8902, allocations: 24.42 kB / 1.283 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005229/0.8907, allocations: 301.5 kB / 1.283 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002631/0.8933, allocations: 1.737 MB / 1.285 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005879/0.8939, allocations: 322.1 kB / 1.285 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.8941, allocations: 97.67 kB / 1.285 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.8943, allocations: 93.03 kB / 1.285 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.345e-05/0.8943, allocations: 34.56 kB / 1.285 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.8943, allocations: 0 / 1.285 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.003208/0.8975, allocations: 0.9686 MB / 1.286 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.432e-05/0.8976, allocations: 81.05 kB / 1.286 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.8979, allocations: 211.7 kB / 1.287 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/0.898, allocations: 33.7 kB / 1.287 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.8982, allocations: 184.5 kB / 1.287 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.862e-05/0.8983, allocations: 79.28 kB / 1.287 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.8984, allocations: 65.69 kB / 1.287 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002166/0.8986, allocations: 326.8 kB / 1.287 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.8989, allocations: 127.9 kB / 1.287 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.8992, allocations: 225.1 kB / 1.288 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005438/0.8997, allocations: 360.3 kB / 1.288 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.8997, allocations: 0 / 1.288 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001042/0.9008, allocations: 0.5083 MB / 1.288 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.9008, allocations: 8 kB / 1.288 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.9008, allocations: 0 / 1.288 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006297/0.9015, allocations: 151.5 kB / 1.289 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.9017, allocations: 55.91 kB / 1.289 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004395/0.9061, allocations: 4.202 MB / 1.293 GB, free: 408 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.9064, allocations: 19.98 kB / 1.293 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.9065, allocations: 12 kB / 1.293 GB, free: 376 kB / 0.9825 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.0003136/0.9068, allocations: 169.2 kB / 1.293 GB, free: 200 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-05/0.9069, allocations: 23.86 kB / 1.293 GB, free: 176 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009832/0.9078, allocations: 470.7 kB / 1.293 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.9078, allocations: 7.938 kB / 1.293 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.9078, allocations: 0 / 1.293 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.9079, allocations: 4 kB / 1.293 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.9096, allocations: 1.017 MB / 1.294 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.9096, allocations: 0 / 1.294 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.9098, allocations: 31.98 kB / 1.294 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004415/0.9102, allocations: 143.5 kB / 1.295 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.9102, allocations: 15.98 kB / 1.295 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003575/0.9138, allocations: 4.148 MB / 1.299 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.9138, allocations: 3.938 kB / 1.299 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009669/0.9148, allocations: 0.6257 MB / 1.299 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.9149, allocations: 117 kB / 1.299 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.915, allocations: 11.94 kB / 1.299 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.9152, allocations: 19.98 kB / 1.299 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.9153, allocations: 27.91 kB / 1.299 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.9153, allocations: 16 kB / 1.299 GB, free: 9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002185/0.9155, allocations: 149.5 kB / 1.3 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9155, allocations: 0 / 1.3 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005518/0.9161, allocations: 91.92 kB / 1.3 GB, free: 8.766 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.0002673/0.9163, allocations: 140.6 kB / 1.3 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.9174, allocations: 0.5665 MB / 1.3 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.9174, allocations: 0.625 kB / 1.3 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005936/0.918, allocations: 401 kB / 1.301 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005228/0.9185, allocations: 49.56 kB / 1.301 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.9199, allocations: 0.6383 MB / 1.301 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000632/0.9205, allocations: 0.7791 MB / 1.302 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002202/0.9207, allocations: 62.23 kB / 1.302 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.483e-05/0.9208, allocations: 27.44 kB / 1.302 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.9208, allocations: 0 / 1.302 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of Templates: time 0.01051/0.9313, allocations: 4.357 MB / 1.307 GB, free: 1.656 MB / 0.9981 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 -s cvode -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_2/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: 8.99554648809135]